From: [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]