Bug #13398: get_exif_data() eats memory
| From: | marc at links2linux dot de | Date: | Sat, 22 Sep 2001 11:38:08 +0000 |
| Subject: | Bug #13398: get_exif_data() eats memory | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-66328@lists.php.net to get a copy of this message | ||
From: marc@links2linux.de
Operating system: Linux 2.4
PHP version: 4.0.6
PHP Bug Type: *Graphics related
Bug description: get_exif_data() eats memory
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
--
Edit bug report at: http://bugs.php.net/?id=13398&edit=1