Bug #62523 [Fbk->NoF]: php crashes with segfault when exif_read_data called

From: Date: Sun, 22 Feb 2015 04:22:17 +0000
Subject: Bug #62523 [Fbk->NoF]: php crashes with segfault when exif_read_data called
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190881@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62523&edit=1 ID: 62523 Updated by: php-bugs@lists.php.net Reported by: bigbug at mafia dot lv Summary: php crashes with segfault when exif_read_data called -Status: Feedback +Status: No Feedback Type: Bug Package: Reproducible crash Operating System: linux PHP Version: 5.3Git-2012-07-10 (snap) Assigned To: rasmus Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2015-02-10 01:50:34] yohgaki@php.net Please describe your environment. The offending file is needed. could you upload them somewhere and link it? ------------------------------------------------------------------------ [2015-02-10 00:04:29] stephane dot boisvert at automattic dot com I helped debug the issue for BoingBoing regarding exif_read_data() causing a segfault. This was on RHEL 6 PHP 5.4 ------------------------------------------------------------------------ [2015-02-09 22:09:11] ken at boingboing dot net We're experiencing the same issue. Any attempt to import this post into wordpress generated the same issue when it calles exif_read_date (for reference, wp-admin/includes/image.php, line 339): $exif = @exif_read_data( $file ); Removing the EXIF data eliminates the issue. ------------------------------------------------------------------------ [2014-12-30 10:41:51] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. ------------------------------------------------------------------------ [2013-11-17 07:28:21] sdrinf at gmail dot com I'm the one being assisted by nbishop; specific circumstances were: * 32-bit ubuntu 10.04 , 32-bit custom-compiled PHP 5.5.5 * Unit test were called from CLI, consisted of a single exif_read_data command * Crashing image can be found at http://178.79.135.16/static/segfault_image.jpg * Crash repros 100% of the time. After burning a handful of hours on this, I've worked around by nuking the VPS, and installing a 64-bit 12.04 Ubuntu. This failed to repro segfault on this, or any of the images attached above (yay). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=62523 -- Edit this bug report at https://bugs.php.net/bug.php?id=62523&edit=1

« previous php.bugs (#190881) next »