Bug #64089 [Opn]: Posting multipart/form-data forms results in Segmentation fault

From: Date: Mon, 28 Jan 2013 23:21:00 +0000
Subject: Bug #64089 [Opn]: Posting multipart/form-data forms results in Segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-176315@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64089&edit=1 ID: 64089 User updated by: bas at bushbaby dot nl Reported by: bas at bushbaby dot nl Summary: Posting multipart/form-data forms results in Segmentation fault Status: Open Type: Bug Package: Reproducible crash Operating System: OSX 10.8.2 PHP Version: 5.4.11 Block user comment: N Private report: N New Comment: oh, I check it is PHP that crashes, by changing the extention and action to html. Then it works. Previous Comments: ------------------------------------------------------------------------ [2013-01-28 23:19:01] bas at bushbaby dot nl Description: ------------ './configure' '--prefix=/opt/local' '--mandir=/opt/local/share/man' '-- infodir=/opt/local/share/info' '--program-suffix=54' '-- includedir=/opt/local/include/php54' '--libdir=/opt/local/lib/php54' '--with- config-file-path=/opt/local/etc/php54' '--with-config-file-scan- dir=/opt/local/var/db/php54' '--disable-all' '--enable-bcmath' '--enable-ctype' '- -enable-dom' '--enable-fileinfo' '--enable-filter' '--enable-hash' '--enable-json' '--enable-libxml' '--enable-pdo' '--enable-phar' '--enable-session' '--enable- simplexml' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable- xmlwriter' '--with-bz2=/opt/local' '--with-mhash=/opt/local' '--with-pcre- regex=/opt/local' '--with-libxml-dir=/opt/local' '--with-zlib=/opt/local' '-- without-pear' '--disable-cgi' '--disable-cli' '--disable-fpm' '--with- apxs2=/opt/local/apache2/bin/apxs' Test script: --------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <p>this form crashes php</p> <form enctype="multipart/form-data" method="post" action="bug.php"> <input type="submit" value="submit" /> </form> <hr /> <p>this form won't</p> <form method="post" action="bug.php"> <input type="submit" value="submit" /> </form> </body> </html> Expected result: ---------------- see the form again Actual result: -------------- black screen, apache log shows segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64089&edit=1

« previous php.bugs (#176315) next »