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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Mon Jan 20 23:01:25 2020 UTC