diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-11-12 23:31:57 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-11-12 23:31:57 +0100 |
| commit | b71a6174e12b4709acaf8bc151938ba12d2a54f6 (patch) | |
| tree | dc8fbe48681f318c272513b7a8d68982fdc47973 /doc/man3/html_node_alloc.3 | |
| parent | 7d02b225fe11fb0c7233cd2ea576485ee920f203 (diff) | |
http.c: Fix more issues with partial boundaries
- http_memmem must not check strlen(a) > n because, in case of a partial
boundary, it would wrongfully return NULL.
- If one or more characters from a partial boundary are found at the end
of a buffer, but the next buffer does not start with the rest of the
boundary, the accumulated boundary must be reset, and then look for a
new boundary.
Diffstat (limited to 'doc/man3/html_node_alloc.3')
0 files changed, 0 insertions, 0 deletions
