Files
klara-ports/www/libapreq2/files/patch-library_module__cgi.c
2025-07-18 07:09:53 +02:00

12 lines
455 B
C

--- 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;