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
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: 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 06:01:30 2024 UTC