php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13398 get_exif_data() eats memory
Submitted: 2001-09-22 13:38 UTC Modified: 2005-02-01 23:08 UTC
From: marc at links2linux dot de Assigned:
Status: Closed Package: EXIF related
PHP Version: 4.0.6 OS: Linux 2.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: marc at links2linux dot de
New email:
PHP Version: OS:

 

 [2001-09-22 13:38 UTC] marc at links2linux dot de
Short Script:
<?
$exif_data = read_exif_data("/path/to/IMAGE.JPG");
echo "Hello World!";
?>

my configure line (taken from phpinfo()):
(--enable-memory-limit patch enabled)

 './configure' '--prefix=/usr' 
'--with-config-file-path=/etc' '--disable-debug' 
'--enable-pic' '--enable-shared' 
'--enable-inline-optimization' 
'--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin' 
'--with-regex=system' '--with-gettext' '--with-gd' 
'--with-jpeg-dir=/usr' '--with-png' '--with-zlib' 
'--with-db2' '--with-db3' '--with-gdbm' 
'--enable-debugger' '--enable-magic-quotes' 
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' 
'--enable-sysvshm' '--enable-track-vars' '--enable-ftp' 
'--enable-wddx' '--enable-exif' '--without-oracle' 
'--without-oci8' '--with-xml' '--enable-memory-limit'

I had the same problem without --enable-memory-limit
(and without the patch) 

Tell me, if you need any further information

-Marc

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-22 13:42 UTC] mfischer@php.net
Please try http://www.php.net/~zeev/php-4.0.7RC2.tar.gz or a snapshot from http://snaps.php.net/ and re-open the bug if the problem still persists. Please also make the image available to download somewhere if you re-open the bug for testing.

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