Bug 193683

Summary: ImageCreateFromJpeg returns 'not a valid jpeg file'
Product: [Fedora] Fedora Reporter: Jonathan Hutchins <hutchins>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED INSUFFICIENT_DATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://bugs.php.net/bug.php?id=29878
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-10 04:25:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Hutchins 2006-05-31 16:46:42 UTC
This bug is PHP Bug #29878:

When calling ImageCreateFromJPEG() on a valid jpeg file it fails and i
get errors such as the following in my php error log:

<code>
[28-Aug-2004 05:21:29] PHP Warning:  imagecreatefromjpeg() [<a
href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]:
'/usr/local/apache2/htdocs/pictures/Before Dad Went to
Iraq/IMGP0008.JPG' is not a valid JPEG file in
/home/www/pictures/index.php on line 43
</code>

Multiple users reported this bug, and reported that no errors were detected in 
the JPEG files.  The bug was closed 5 February as fixed in CVS and the fix 
incorporated in 5.1.3+.  

While FC5 contains the newer, fixed PHP, an FC4 server is experiencing these 
errors and needs the fix.

Comment 1 Christian Iseli 2007-01-22 11:05:06 UTC
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Thanks.

Comment 2 Jonathan Hutchins 2007-01-22 14:13:26 UTC
This still applies to the packages available for FC4, which is what the target 
server runs.  Installing a different OS on this production server is not an 
option.

Comment 3 petrosyan 2008-03-10 04:25:20 UTC
Fedora Core 4 is no longer maintained.

Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release, please reopen this bug and assign it to the
corresponding Fedora version.