Browse Source

Add fallback state for '\n\r' line endings

tags/1.1.0
Vsevolod Stakhov 8 years ago
parent
commit
28647a4aa4
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/libutil/str_util.c

+ 4
- 0
src/libutil/str_util.c View File

@@ -1212,6 +1212,10 @@ rspamd_string_find_eoh (GString *input)
state = got_linebreak_lf;
p++;
}
else {
p++;
state = skip_char;
}
break;
case got_linebreak_lf:
g_assert (c != NULL);

Loading…
Cancel
Save