diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-11-12 06:16:26 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-11-12 06:52:48 +0100 |
| commit | 7d02b225fe11fb0c7233cd2ea576485ee920f203 (patch) | |
| tree | f8c22ec9fade830aaae0b8c5ce8b3366fb28b6aa /doc/man3/html_node_alloc.3 | |
| parent | 9e1779eacdbe4f56177efb258f543e8baa9efc4e (diff) | |
http.c: Fix several issues with partial boundaries
- Writing to m->boundary[len] did not make any sense, as len is not
meant to change between calls to read_mf_boundary_byte.
- For the same reason, memset(3)ing "len + 1" did not make any sense.
- When a partial boundary is found, http_memmem must still return st.
- Calling reset_boundary with prev == 0 did not make sense, since that
case typically means a partial boundary was found on a previous
iteration, so m->blen must not be reset.
Diffstat (limited to 'doc/man3/html_node_alloc.3')
0 files changed, 0 insertions, 0 deletions
