From 34d00e10af698ea0f71e9cdcf6563eb3eec4afa9 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sun, 12 Nov 2023 06:22:19 +0100 Subject: Bump libweb Several bugfixes related to partial boundary parsing were provided by this commit: commit 7d02b225fe11fb0c7233cd2ea576485ee920f203 Author: Xavier Del Campo Romero Date: Sun Nov 12 06:16:26 2023 +0100 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. --- libweb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweb b/libweb index 9e1779e..7d02b22 160000 --- a/libweb +++ b/libweb @@ -1 +1 @@ -Subproject commit 9e1779eacdbe4f56177efb258f543e8baa9efc4e +Subproject commit 7d02b225fe11fb0c7233cd2ea576485ee920f203 -- cgit v1.2.3