diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/microhttpd/postprocessor.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ | |||
1 | Wed 10 Jun 2020 09:44:29 PM CEST | ||
2 | Fixed PostProcessor bug discovered by MD, which given certain parser | ||
3 | boundaries caused the returned values to be wrong. -CG/MD | ||
4 | |||
1 | Wed 08 Apr 2020 10:53:01 PM CEST | 5 | Wed 08 Apr 2020 10:53:01 PM CEST |
2 | Introduce `enum MHD_Result` for #MHD_YES/#MHD_NO to avoid using 'int' so much. | 6 | Introduce `enum MHD_Result` for #MHD_YES/#MHD_NO to avoid using 'int' so much. |
3 | Note that this change WILL cause compiler warnings until (most) MHD callbacks | 7 | Note that this change WILL cause compiler warnings until (most) MHD callbacks |
diff --git a/src/microhttpd/postprocessor.c b/src/microhttpd/postprocessor.c index 9c464152..8848b306 100644 --- a/src/microhttpd/postprocessor.c +++ b/src/microhttpd/postprocessor.c | |||
@@ -541,6 +541,7 @@ post_process_urlencoded (struct MHD_PostProcessor *pp, | |||
541 | pp->buffer_pos = 0; | 541 | pp->buffer_pos = 0; |
542 | pp->value_offset = 0; | 542 | pp->value_offset = 0; |
543 | pp->state = PP_Init; | 543 | pp->state = PP_Init; |
544 | start_value = NULL; | ||
544 | } | 545 | } |
545 | continue; | 546 | continue; |
546 | case '\n': | 547 | case '\n': |