Update patches and add patchs from commits 4297f4e, ff69dad, 55f74e5
(some of them don't applies correctly)
This commit is contained in:
11
www/libapreq2/files/patch-library_module__cgi.c
Normal file
11
www/libapreq2/files/patch-library_module__cgi.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- library/module_cgi.c.orig 2022-08-18 09:18:20 UTC
|
||||
+++ library/module_cgi.c
|
||||
@@ -354,7 +354,7 @@ static void init_body(apreq_handle_t *handle)
|
||||
|
||||
if (cl_header != NULL) {
|
||||
char *dummy;
|
||||
- apr_int64_t content_length = apr_strtoi64(cl_header, &dummy, 0);
|
||||
+ apr_int64_t content_length = apr_strtoi64(cl_header, &dummy, 10);
|
||||
|
||||
if (dummy == cl_header || *dummy != 0) {
|
||||
req->body_status = APREQ_ERROR_BADHEADER;
|
||||
Reference in New Issue
Block a user