gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r15274 - in libmicrohttpd: . src/daemon


From: gnunet
Subject: [GNUnet-SVN] r15274 - in libmicrohttpd: . src/daemon
Date: Fri, 20 May 2011 19:36:07 +0200

Author: grothoff
Date: 2011-05-20 19:36:07 +0200 (Fri, 20 May 2011)
New Revision: 15274

Modified:
   libmicrohttpd/ChangeLog
   libmicrohttpd/src/daemon/postprocessor.c
Log:
fixing Mantis 1680

Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog     2011-05-20 16:09:02 UTC (rev 15273)
+++ libmicrohttpd/ChangeLog     2011-05-20 17:36:07 UTC (rev 15274)
@@ -1,3 +1,7 @@
+Fri May 20 19:34:59 CEST 2011
+       Fixed bug in parsing multipart/form-data with post processor where
+       the code failed to add a 0-terminator in the correct position. -PP
+
 Thu May 12 14:40:46 CEST 2011
        Fixed bug where if multiple HTTP request messages are piped in at once,
        microhttpd would call the handler with the wrong upload_data_size. -HZM

Modified: libmicrohttpd/src/daemon/postprocessor.c
===================================================================
--- libmicrohttpd/src/daemon/postprocessor.c    2011-05-20 16:09:02 UTC (rev 
15273)
+++ libmicrohttpd/src/daemon/postprocessor.c    2011-05-20 17:36:07 UTC (rev 
15274)
@@ -650,6 +650,7 @@
               pp->state = next_state;
               pp->dash_state = next_dash_state;
               (*ioffptr) += pp->blen + 4;       /* skip boundary as well */
+              buf[newline] = '\0';
               break;
             }
         }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]