]> granicus.if.org Git - php/commitdiff
Fix invalid read in freed area
authorArnaud Le Blanc <lbarnaud@php.net>
Sun, 14 Sep 2008 14:55:28 +0000 (14:55 +0000)
committerArnaud Le Blanc <lbarnaud@php.net>
Sun, 14 Sep 2008 14:55:28 +0000 (14:55 +0000)
main/rfc1867.c

index 5d66b002201b529097a7a801aecd6d56ddf66c5f..a38acb9df07d753316764affac58b8f3727bbf4d 100644 (file)
@@ -1507,11 +1507,6 @@ var_done:
                        register_u_http_post_files_variable(lbuf, ucd, ucd_len, http_post_files, 0 TSRMLS_CC);
 
                        efree(ucd);
-
-                       /* Restore Content-Type Header */
-                       if (s != NULL) {
-                               *s = 0x3b /*';'*/;
-                       }
                        s = EMPTY_STR;
 
                        /* Initialize variables */