php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14026 read_exif_data crashes
Submitted: 2001-11-12 04:55 UTC Modified: 2005-02-01 22:59 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:3 (100.0%)
From: internet2 at mail dot com Assigned: helly (profile)
Status: Closed Package: EXIF related
PHP Version: 4.1.1 OS: Linux 2.4.5
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: internet2 at mail dot com
New email:
PHP Version: OS:

 

 [2001-11-12 04:55 UTC] internet2 at mail dot com
:) php-read_exif-data can read exif from Canon DC jpg file
:( php-read_exif-data cannot read exif from Ricoh DC jpg file

A server error got is -
FATAL:  emalloc():  Unable to allocate -2147483648 bytes

A example of Ricoh DC jpg at http://www.aimaker.com/ricoh.jpg

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-12 04:59 UTC] derick@php.net
You might want to try a snapshot from snaps.php.net. AFAIK, this should be fixed.

Derick
 [2001-11-12 05:42 UTC] internet2 at mail dot com
Thx much prompt reply.
Tried PHP Version 4.2.0-dev at 
http://www.aimaker.com/info.php

Still got the same error with ricoh.jpg but ok with canon jpg.


 [2002-02-20 21:03 UTC] aaron at dogbert dot wsc dot ma dot edu
I have a Minolta DiMage7 DC

I am getting intermittent problems with
FATAL:  emalloc():  Unable to allocate -2147483648 bytes

read_exif_data will work with most pictures, but sometimes will produce the error.
 [2002-02-22 13:02 UTC] rasmus@php.net
Could you send me an image that has this problem?  Or point me at a URL where I can grab one?  It should be a simple fix if I can reproduce it locally here.
 [2002-03-02 12:14 UTC] helly@php.net
This bug has been fixed in CVS.

This bug has been fixed in CVS.

Original version was not really standard complient...

Hope i fixed all. But i implemented a test mechanism and
it works with all files from exif.org now.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC