php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64830 mimetype detection segfaults on mp3 file
Submitted: 2013-05-13 17:58 UTC Modified: 2013-06-13 12:04 UTC
From: bluewind at xinu dot at Assigned: ab (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: 5.4.15 OS: Arch Linux
Private report: No CVE-ID: None
 [2013-05-13 17:58 UTC] bluewind at xinu dot at
Description:
------------
Uploading an mp3 file or using fileinfo to check the mimetype of an mp3 file causes a crash.

5.4.14 works fine, 5.4.15 crashes.

I bisected it down to 10367fa7c6a4a2cf9bee02d8905e284185428f09.

Doesn't seem to happen for every mp3 file so here's the one I used: http://flo.server-speed.net/tmp/php-bug-mp3/test.mp3

If you need any more information to track it down or can't reproduce it, I'm happy to help.

Test script:
---------------
<?php

        function mimetype($file) {
                $fileinfo = new finfo(FILEINFO_MIME_TYPE);
                $mimetype = $fileinfo->file($file);

                return $mimetype;
        }

echo mimetype ("test.mp3")."\n";

Expected result:
----------------
Output should be "audio/mpeg" and it shouldn't crash.

Actual result:
--------------
*** Error in `/home/flo/git/php-src/sapi/cgi/php-cgi': munmap_chunk(): invalid pointer: 0x00007f31e3dc24f0 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x788ae)[0x7f31e258a8ae]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x5860d6]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x5825ee]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x5820bc]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x57fef3]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x580f87]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x580d6a]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x573bbc]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x573dd1]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x7cd0b2]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x7cd71c]
/home/flo/git/php-src/sapi/cgi/php-cgi(execute+0x369)[0x7cc671]
/home/flo/git/php-src/sapi/cgi/php-cgi(zend_execute_scripts+0x23c)[0x79381c]
/home/flo/git/php-src/sapi/cgi/php-cgi(php_execute_script+0x370)[0x70ffd8]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x8370bb]
/usr/lib/libc.so.6(__libc_start_main+0xf5)[0x7f31e2533a15]
/home/flo/git/php-src/sapi/cgi/php-cgi[0x41fca9]


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-13 18:02 UTC] pajoye@php.net
can you try using CLI please?

And it would be very helpful to either use a debug build or load the debug symbols 
to generate the backtrace.
 [2013-05-13 18:02 UTC] pajoye@php.net
-Status: Open +Status: Feedback
 [2013-05-13 18:42 UTC] bluewind at xinu dot at
Simple backtrace of the cli executable below. Do you want a full one or is this enough?


#0  0x00007ffff67751c9 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff67765c8 in abort () from /usr/lib/libc.so.6
#2  0x00007ffff67b3037 in __libc_message () from /usr/lib/libc.so.6
#3  0x00007ffff67b88ae in malloc_printerr () from /usr/lib/libc.so.6
#4  0x00007ffff67b9587 in _int_free () from /usr/lib/libc.so.6
#5  0x0000000000586026 in mget (ms=0x7ffff7e1db78, s=0x7ffff5f87070 "ID3\004", m=0xa8cc40 <php_magic_database+1754848>, nbytes=262144, o=0, cont_level=1, mode=32, text=0, flip=0, recursion_level=1, printed_something=0x7fffffff99b0, need_separator=0x7fffffff99ac, 
    returnval=0x7fffffff98f8) at /home/flo/git/php-src/ext/fileinfo/libmagic/softmagic.c:1702
#6  0x000000000058253e in match (ms=0x7ffff7e1db78, magic=0x8e0658 <php_magic_database+248>, nmagic=9899, s=0x7ffff5f87070 "ID3\004", nbytes=262144, offset=0, mode=32, text=0, flip=0, recursion_level=0, printed_something=0x7fffffff99b0, need_separator=0x7fffffff99ac, 
    returnval=0x7fffffff98f8) at /home/flo/git/php-src/ext/fileinfo/libmagic/softmagic.c:244
#7  0x000000000058200c in file_softmagic (ms=0x7ffff7e1db78, buf=0x7ffff5f87070 "ID3\004", nbytes=262144, mode=32, text=0) at /home/flo/git/php-src/ext/fileinfo/libmagic/softmagic.c:82
#8  0x000000000057fe43 in file_buffer (ms=0x7ffff7e1db78, stream=0x7ffff7e1d368, inname=0x0, buf=0x7ffff5f87070, nb=262144) at /home/flo/git/php-src/ext/fileinfo/libmagic/funcs.c:238
#9  0x0000000000580ed7 in file_or_stream (ms=0x7ffff7e1db78, inname=0x0, stream=0x7ffff7e1d368) at /home/flo/git/php-src/ext/fileinfo/libmagic/magic.c:412
#10 0x0000000000580cba in magic_stream (ms=0x7ffff7e1db78, stream=0x7ffff7e1d368) at /home/flo/git/php-src/ext/fileinfo/libmagic/magic.c:344
#11 0x0000000000573b0c in _php_finfo_get_type (ht=1, return_value=0x7ffff7e1ebd0, return_value_ptr=0x0, this_ptr=0x7ffff7ff7a08, return_value_used=1, mode=2, mimetype_emu=0) at /home/flo/git/php-src/ext/fileinfo/fileinfo.c:540
#12 0x0000000000573d21 in zif_finfo_file (ht=1, return_value=0x7ffff7e1ebd0, return_value_ptr=0x0, this_ptr=0x7ffff7ff7a08, return_value_used=1) at /home/flo/git/php-src/ext/fileinfo/fileinfo.c:578
#13 0x00000000007cd002 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff7fbb1c8) at /home/flo/git/php-src/Zend/zend_vm_execute.h:643
#14 0x00000000007cd66c in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (execute_data=0x7ffff7fbb1c8) at /home/flo/git/php-src/Zend/zend_vm_execute.h:754
#15 0x00000000007cc5c1 in execute (op_array=0x103c1d0) at /home/flo/git/php-src/Zend/zend_vm_execute.h:410
#16 0x000000000079376c in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/flo/git/php-src/Zend/zend.c:1315
#17 0x000000000070ff28 in php_execute_script (primary_file=0x7fffffffd3b0) at /home/flo/git/php-src/main/main.c:2492
#18 0x00000000008337f4 in do_cli (argc=2, argv=0x7fffffffd748) at /home/flo/git/php-src/sapi/cli/php_cli.c:988
#19 0x0000000000834799 in main (argc=2, argv=0x7fffffffd748) at /home/flo/git/php-src/sapi/cli/php_cli.c:1364
 [2013-05-13 19:19 UTC] ab@php.net
-Assigned To: +Assigned To: ab
 [2013-05-13 19:20 UTC] ab@php.net
-Status: Feedback +Status: Assigned
 [2013-05-14 07:48 UTC] ab@php.net
-Status: Assigned +Status: Closed
 [2013-05-14 07:48 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=74555e7c26b2c61bb8e67b7d6a6f4d2b8eb3a5f3
Log: Fixed bug #64830 mimetype detection segfaults on mp3 file
 [2013-05-31 14:08 UTC] alix dot axel at gmail dot com
Same problem here.

PHP 5.4.15-1~raring+1 (cli) (built: May 12 2013 16:01:39)

$ clear && php LostFS.php 

Mapping 4 file(s)...
[000001] /home/alix/sounds/sound2.wav
[000002] /home/alix/sounds/sonar.mp3
[000003] /home/alix/sounds/sound3.wav
*** Error in `php': free(): invalid pointer: 0xb6f55a6c ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x767e2)[0xb70127e2]
/lib/i386-linux-gnu/libc.so.6(+0x77530)[0xb7013530]
php[0x80f9d21]
php[0x80f943a]
php[0x80f97d2]
php[0x80f549f]
php[0x80f5daf]
php[0x80eba9b]
php[0x83d5743]
php(execute+0x1c5)[0x8390f95]
php(zend_execute_scripts+0x69)[0x8326e79]
php(php_execute_script+0x1de)[0x82c121e]
php[0x83d848c]
php[0x806b3a8]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0xb6fb5935]
php[0x806b429]
======= Memory map: ========
08048000-087d9000 r-xp 00000000 fc:00 3419227    /usr/bin/php5
087d9000-0883a000 r--p 00790000 fc:00 3419227    /usr/bin/php5
0883a000-0883f000 rw-p 007f1000 fc:00 3419227    /usr/bin/php5
0883f000-08858000 rw-p 00000000 00:00 0 
08919000-08b25000 rw-p 00000000 00:00 0          [heap]
b3ce5000-b3da7000 rw-p 00000000 00:00 0 
b3da7000-b3db2000 r-xp 00000000 fc:00 6030223    /lib/i386-linux-
gnu/libnss_files-2.17.so
b3db2000-b3db3000 r--p 0000a000 fc:00 6030223    /lib/i386-linux-
gnu/libnss_files-2.17.so
b3db3000-b3db4000 rw-p 0000b000 fc:00 6030223    /lib/i386-linux-
gnu/libnss_files-2.17.so
b3db4000-b3eb3000 r-xp 00000000 fc:00 6030180    /lib/i386-linux-gnu/libglib-
2.0.so.0.3600.0
b3eb3000-b3eb4000 r--p 000fe000 fc:00 6030180    /lib/i386-linux-gnu/libglib-
2.0.so.0.3600.0
b3eb4000-b3eb5000 rw-p 000ff000 fc:00 6030180    /lib/i386-linux-gnu/libglib-
2.0.so.0.3600.0
b3eb5000-b3ebe000 r-xp 00000000 fc:00 3413143    /usr/lib/i386-linux-
gnu/libltdl.so.7.3.0
b3ebe000-b3ebf000 r--p 00008000 fc:00 3413143    /usr/lib/i386-linux-
gnu/libltdl.so.7.3.0
b3ebf000-b3ec0000 rw-p 00009000 fc:00 3413143    /usr/lib/i386-linux-
gnu/libltdl.so.7.3.0
b3ec0000-b3ed0000 r-xp 00000000 fc:00 3412666    /usr/lib/i386-linux-
gnu/libXext.so.6.4.0
b3ed0000-b3ed1000 r--p 0000f000 fc:00 3412666    /usr/lib/i386-linux-
gnu/libXext.so.6.4.0
b3ed1000-b3ed2000 rw-p 00010000 fc:00 3412666    /usr/lib/i386-linux-
gnu/libXext.so.6.4.0
b3ed2000-b40a6000 r-xp 00000000 fc:00 3409998    /usr/lib/i386-linux-
gnu/libfftw3.so.3.3.2
b40a6000-b40b2000 r--p 001d3000 fc:00 3409998    /usr/lib/i386-linux-
gnu/libfftw3.so.3.3.2
b40b2000-b40b3000 rw-p 001df000 fc:00 3409998    /usr/lib/i386-linux-
gnu/libfftw3.so.3.3.2
b40b3000-b40c6000 r-xp 00000000 fc:00 3419268    /usr/lib/i386-linux-gnu/liblqr-
1.so.0.3.1
b40c6000-b40c7000 r--p 00012000 fc:00 3419268    /usr/lib/i386-linux-gnu/liblqr-
1.so.0.3.1
b40c7000-b40c8000 rw-p 00013000 fc:00 3419268    /usr/lib/i386-linux-gnu/liblqr-
1.so.0.3.1
b40c8000-b4117000 r-xp 00000000 fc:00 3413135    /usr/lib/i386-linux-
gnu/liblcms2.so.2.0.4
b4117000-b4118000 r--p 0004e000 fc:00 3413135    /usr/lib/i386-linux-
gnu/liblcms2.so.2.0.4
b4118000-b411c000 rw-p 0004f000 fc:00 3413135    /usr/lib/i386-linux-
gnu/liblcms2.so.2.0.4
b411c000-b412b000 r-xp 00000000 fc:00 3412956    /usr/lib/i386-linux-
gnu/libgomp.so.1.0.0
b412b000-b412c000 r--p 0000e000 fc:00 3412956    /usr/lib/i386-linux-
gnu/libgomp.so.1.0.0
b412c000-b412d000 rw-p 0000f000 fc:00 3412956    /usr/lib/i386-linux-
gnu/libgomp.so.1.0.0
b412d000-b4382000 r-xp 00000000 fc:00 3419270    /usr/lib/i386-linux-
gnu/libMagickCore.so.5.0.0
b4382000-b438d000 r--p 00254000 fc:00 3419270    /usr/lib/i386-linux-
gnu/libMagickCore.so.5.0.0
b438d000-b43c9000 rw-p 0025f000 fc:00 3419270    /usr/lib/i386-linux-
gnu/libMagickCore.so.5.0.0
b43c9000-b43e9000 rw-p 00000000 00:00 0 
b43e9000-b4501000 r-xp 00000000 fc:00 3419272    /usr/lib/i386-linux-
gnu/libMagickWand.so.5.0.0
b4501000-b4502000 r--p 00117000 fc:00 3419272    /usr/lib/i386-linux-
gnu/libMagickWand.so.5.0.0
b4502000-b4504000 rw-p 00118000 fc:00 3419272    /usr/lib/i386-linux-
gnu/libMagickWand.so.5.0.0
b4504000-b4553000 r-xp 00000000 fc:00 3419274    
/usr/lib/php5/20100525+lfs/imagick.so
b4553000-b455a000 r--p 0004e000 fc:00 3419274    
/usr/lib/php5/20100525+lfs/imagick.so
b455a000-b455e000 rw-p 00055000 fc:00 3419274    
/usr/lib/php5/20100525+lfs/imagick.so
b455e000-b45ad000 r-xp 00000000 fc:00 3410929    /usr/lib/libtidy-0.99.so.0.0.0
b45ad000-b45b2000 r--p 0004e000 fc:00 3410929    /usr/lib/libtidy-0.99.so.0.0.0
b45b2000-b45b3000 rw-p 00053000 fc:00 3410929    /usr/lib/libtidy-0.99.so.0.0.0
b45c0000-b45c8000 rw-s 00000000 fc:00 9306299    
/var/www/LostFS/1792221531_sounds.db-shm
b45c8000-b4863000 r-xp 00000000 fc:00 3410256    /usr/lib/i386-linux-
gnu/libmysqlclient.so.18.0.0
b4863000-b4866000 r--p 0029b000 fc:00 3410256    /usr/lib/i386-linux-
gnu/libmysqlclient.so.18.0.0
b4866000-b48dc000 rw-p 0029e000 fc:00 3410256    /usr/lib/i386-linux-
gnu/libmysqlclient.so.18.0.0
b48dc000-b48df000 rw-p 00000000 00:00 0 
b48df000-b4905000 r-xp 00000000 fc:00 3419280    /usr/lib/libmcrypt.so.4.4.8
b4905000-b4906000 r--p 00025000 fc:00 3419280    /usr/lib/libmcrypt.so.4.4.8
b4906000-b4908000 rw-p 00026000 fc:00 3419280    /usr/lib/libmcrypt.so.4.4.8
b4908000-b490d000 rw-p 00000000 00:00 0 
b490e000-b4915000 r--s 00000000 fc:00 3414053    /usr/lib/i386-linux-
gnu/gconv/gconv-modules.cache
b4915000-b4920000 r-xp 00000000 fc:00 3419337    
/usr/lib/php5/20100525+lfs/tidy.so
b4920000-b4921000 r--p 0000a000 fc:00 3419337    
/usr/lib/php5/20100525+lfs/tidy.so
b4921000-b4922000 rw-p 0000b000 fc:00 3419337    
/usr/lib/php5/20100525+lfs/tidy.so
b4922000-b5a91000 r-xp 00000000 fc:00 3413077    /usr/lib/i386-linux-
gnu/libicudata.so.48.1.1
b5a91000-b5a92000 r--p 0116e000 fc:00 3413077    /usr/lib/i386-linux-
gnu/libicudata.so.48.1.1
b5a92000-b5a93000 rw-p 0116f000 fc:00 3413077    /usr/lib/i386-linux-
gnu/libicudata.so.48.1.1
b5a93000-b5b6f000 r-xp 00000000 fc:00 3413341    /usr/lib/i386-linux-
gnu/libstdc++.so.6.0.17
b5b6f000-b5b70000 ---p 000dc000 fc:00 3413341    /usr/lib/i386-linux-
gnu/libstdc++.so.6.0.17
b5b70000-b5b74000 r--p 000dc000 fc:00 3413341    /usr/lib/i386-linux-
gnu/libstdc++.so.6.0.17
b5b74000-b5b75000 rw-p 000e0000 fc:00 3413341    /usr/lib/i386-linux-
gnu/libstdc++.so.6.0.17
b5b75000-b5b7c000 rw-p 00000000 00:00 0 
b5b7c000-b5b97000 r-xp 00000000 fc:00 6030176    /lib/i386-linux-
gnu/libgcc_s.so.1
b5b97000-b5b98000 r--p 0001a000 fc:00 6030176    /lib/i386-linux-
gnu/libgcc_s.so.1
b5b98000-b5b99000 rw-p 0001b000 fc:00 6030176    /lib/i386-linux-
gnu/libgcc_s.so.1
b5b99000-b5cef000 r-xp 00000000 fc:00 3413091    /usr/lib/i386-linux-
gnu/libicuuc.so.48.1.1
b5cef000-b5cf9000 r--p 00155000 fc:00 3413091    /usr/lib/i386-linux-
gnu/libicuuc.so.48.1.1
b5cf9000-b5cfa000 rw-p 0015f000 fc:00 3413091    /usr/lib/i386-linux-
gnu/libicuuc.so.48.1.1
b5cfa000-b5cfe000 rw-p 00000000 00:00 0 
b5cfe000-b5eca000 r-xp 00000000 fc:00 3413079    /usr/lib/i386-linux-
gnu/libicui18n.so.48.1.1
b5eca000-b5ed1000 r--p 001cb000 fc:00 3413079    /usr/lib/i386-linux-
gnu/libicui18n.so.48.1.1
b5ed1000-b5ed2000 rw-p 001d2000 fc:00 3413079    /usr/lib/i386-linux-
gnu/libicui18n.so.48.1.1
b5ed2000-b5efd000 r-xp 00000000 fc:00 3419279    
/usr/lib/php5/20100525+lfs/intl.so
b5efd000-b5f00000 r--p 0002a000 fc:00 3419279    
/usr/lib/php5/20100525+lfs/intl.so
b5f00000-b5f02000 rw-p 0002d000 fc:00 3419279    
/usr/lib/php5/20100525+lfs/intl.so
b5f02000-b5f1b000 r-xp 00000000 fc:00 6030141    /lib/i386-linux-
gnu/libaudit.so.1.0.0
b5f1b000-b5f1c000 r--p 00018000 fc:00 6030141    /lib/i386-linux-
gnu/libaudit.so.1.0.0
b5f1c000-b5f1d000 rw-p 00019000 fc:00 6030141    /lib/i386-linux-
gnu/libaudit.so.1.0.0
b5f1d000-b5f21000 rw-p 00000000 00:00 0 
b5f21000-b5f2e000 r-xp 00000000 fc:00 6030234    /lib/i386-linux-
gnu/libpam.so.0.83.0
b5f2e000-b5f2f000 r--p 0000c000 fc:00 6030234    /lib/i386-linux-
gnu/libpam.so.0.83.0
b5f2f000-b5f30000 rw-p 0000d000 fc:00 6030234    /lib/i386-linux-
gnu/libpam.so.0.83.0
b5f30000-b6039000 r-xp 00000000 fc:00 3419276    /usr/lib/libc-client.so.2007e.0
b6039000-b603a000 r--p 00109000 fc:00 3419276    /usr/lib/libc-client.so.2007e.0
b603a000-b6040000 rw-p 0010a000 fc:00 3419276    /usr/lib/libc-client.so.2007e.0
b6040000-b6041000 rw-p 00000000 00:00 0 
b6041000-b6055000 r-xp 00000000 fc:00 3419278    
/usr/lib/php5/20100525+lfs/imap.so
b6055000-b6056000 ---p 00014000 fc:00 3419278    
/usr/lib/php5/20100525+lfs/imap.so
b6056000-b6058000 r--p 00014000 fc:00 3419278    
/usr/lib/php5/20100525+lfs/imap.so
b6058000-b6059000 rw-p 00016000 fc:00 3419278    
/usr/lib/php5/20100525+lfs/imap.so
b6059000-b60cc000 r-xp 00000000 fc:00 3412938    /usr/lib/i386-linux-
gnu/libgmp.so.10.0.5
b60cc000-b60cd000 r--p 00072000 fc:00 3412938    /usr/lib/i386-linux-
gnu/libgmp.so.10.0.5
b60cd000-b60d4000 rw-p 00073000 fc:00 3412938    /usr/lib/i386-linux-
gnu/libgmp.so.10.0.5
b60d7000-b60dc000 r-xp 00000000 fc:00 3419323    
/usr/lib/php5/20100525+lfs/pdo_sqlite.so
b60dc000-b60dd000 r--p 00005000 fc:00 3419323    
/usr/lib/php5/20100525+lfs/pdo_sqlite.so
b60dd000-b60de000 rw-p 00006000 fc:00 3419323    
/usr/lib/php5/20100525+lfs/pdo_sqlite.so
b60de000-b60e6000 r-xp 00000000 fc:00 3419282    
/usr/lib/php5/20100525+lfs/mcrypt.so
b60e6000-b60e8000 r--p 00007000 fc:00 3419282    
/usr/lib/php5/20100525+lfs/mcrypt.so
b60e8000-b60e9000 rw-p 00009000 fc:00 3419282    
/usr/lib/php5/20100525+lfs/mcrypt.so
b60e9000-b60ee000 r-xp 00000000 fc:00 3412664    /usr/lib/i386-linux-
gnu/libXdmcp.so.6.0.0
b60ee000-b60ef000 r--p 00004000 fc:00 3412664    /usr/lib/i386-linux-
gnu/libXdmcp.so.6.0.0
b60ef000-b60f0000 rw-p 00005000 fc:00 3412664    /usr/lib/i386-linux-
gnu/libXdmcp.so.6.0.0
b60f0000-b60f2000 r-xp 00000000 fc:00 3412653    /usr/lib/i386-linux-
gnu/libXau.so.6.0.0
b60f2000-b60f3000 r--p 00001000 fc:00 3412653    /usr/lib/i386-linux-
gnu/libXau.so.6.0.0
b60f3000-b60f4000 rw-p 00002000 fc:00 3412653    /usr/lib/i386-linux-
gnu/libXau.so.6.0.0
b60f4000-b6114000 r-xp 00000000 fc:00 3413438    /usr/lib/i386-linux-
gnu/libxcb.so.1.1.0
b6114000-b6115000 r--p 0001f000 fc:00 3413438    /usr/lib/i386-linux-
gnu/libxcb.so.1.1.0
b6115000-b6116000 rw-p 00020000 fc:00 3413438    /usr/lib/i386-linux-
gnu/libxcb.so.1.1.0
b6116000-b613b000 r-xp 00000000 fc:00 6030171    /lib/i386-linux-
gnu/libexpat.so.1.6.0
b613b000-b613d000 r--p 00025000 fc:00 6030171    /lib/i386-linux-
gnu/libexpat.so.1.6.0
b613d000-b613e000 rw-p 00027000 fc:00 6030171    /lib/i386-linux-
gnu/libexpat.so.1.6.0
b613e000-b6270000 r-xp 00000000 fc:00 3412649    /usr/lib/i386-linux-
gnu/libX11.so.6.3.0
b6270000-b6271000 r--p 00132000 fc:00 3412649    /usr/lib/i386-linux-
gnu/libX11.so.6.3.0
b6271000-b6274000 rw-p 00133000 fc:00 3412649    /usr/lib/i386-linux-
gnu/libX11.so.6.3.0
b6274000-b629b000 r-xp 00000000 fc:00 6030257    /lib/i386-linux-
gnu/libpng12.so.0.49.0
b629b000-b629c000 r--p 00026000 fc:00 6030257    /lib/i386-linux-
gnu/libpng12.so.0.49.0
b629c000-b629d000 rw-p 00027000 fc:00 6030257    /lib/i386-linux-
gnu/libpng12.so.0.49.0
b629d000-b6333000 r-xp 00000000 fc:00 3412881    /usr/lib/i386-linux-
gnu/libfreetype.so.6.10.0
b6333000-b6337000 r--p 00095000 fc:00 3412881    /usr/lib/i386-linux-
gnu/libfreetype.so.6.10.0
b6337000-b6338000 rw-p 00099000 fc:00 3412881    /usr/lib/i386-linux-
gnu/libfreetype.so.6.10.0
b6338000-b636f000 r-xp 00000000 fc:00 3412869    /usr/lib/i386-linux-
gnu/libfontconfig.so.1.6.2
b636f000-b6370000 r--p 00036000 fc:00 3412869    /usr/lib/i386-linux-
gnu/libfontconfig.so.1.6.2
b6370000-b6371000 rw-p 00037000 fc:00 3412869    /usr/lib/i386-linux-
gnu/libfontconfig.so.1.6.2
b6371000-b63b6000 r-xp 00000000 fc:00 3413118    /usr/lib/i386-linux-
gnu/libjpeg.so.8.0.2
b63b6000-b63b7000 r--p 00044000 fc:00 3413118    /usr/lib/i386-linux-
gnu/libjpeg.so.8.0.2
b63b7000-b63b8000 rw-p 00045000 fc:00 3413118    /usr/lib/i386-linux-
gnu/libjpeg.so.8.0.2
b63b8000-b63c8000 rw-p 00000000 00:00 0 
b63c8000-b63d8000 r-xp 00000000 fc:00 3412682    /usr/lib/i386-linux-
gnu/libXpm.so.4.11.0
b63d8000-b63d9000 r--p 0000f000 fc:00 3412682    /usr/lib/i386-linux-
gnu/libXpm.so.4.11.0
b63d9000-b63da000 rw-p 00010000 fc:00 3412682    /usr/lib/i386-linux-
gnu/libXpm.so.4.11.0
b63da000-b63fb000 r-xp 00000000 fc:00 3412896    /usr/lib/i386-linux-
gnu/libgd.so.2.0.0
b63fb000-b63fc000 r--p 00020000 fc:00 3412896    /usr/lib/i386-linux-
gnu/libgd.so.2.0.0
b63fc000-b641b000 rw-p 00021000 fc:00 3412896    /usr/lib/i386-linux-
gnu/libgd.so.2.0.0
b641b000-b641f000 rw-p 00000000 00:00 0 
b641f000-b6432000 r-xp 00000000 fc:00 3419266    
/usr/lib/php5/20100525+lfs/gd.so
b6432000-b6435000 r--p 00013000 fc:00 3419266    
/usr/lib/php5/20100525+lfs/gd.so
b6435000-b6436000 rw-p 00016000 fc:00 3419266    
/usr/lib/php5/20100525+lfs/gd.so
b6436000-b64e2000 r-xp 00000000 fc:00 3413335    /usr/lib/i386-linux-
gnu/libsqlite3.so.0.8.6
b64e2000-b64e3000 r--p 000ac000 fc:00 3413335    /usr/lib/i386-linux-
gnu/libsqlite3.so.0.8.6
b64e3000-b64e4000 rw-p 000ad000 fc:00 3413335    /usr/lib/i386-linux-
gnu/libsqlite3.so.0.8.6
b64e4000-b64e5000 rw-p 00000000 00:00 0 
b64e5000-b6527000 r-xp 00000000 fc:00 3413073    /usr/lib/i386-linux-
gnu/libhx509.so.5.0.0
b6527000-b6528000 r--p 00042000 fc:00 3413073    /usr/lib/i386-linux-
gnu/libhx509.so.5.0.0
b6528000-b6529000 rw-p 00043000 fc:00 3413073    /usr/lib/i386-linux-
gnu/libhx509.so.5.0.0
b6529000-b652a000 rw-p 00000000 00:00 0 
b652a000-b6537000 r-xp 00000000 fc:00 3413065    /usr/lib/i386-linux-
gnu/libheimbase.so.1.0.0
b6537000-b6538000 r--p 0000c000 fc:00 3413065    /usr/lib/i386-linux-
gnu/libheimbase.so.1.0.0
b6538000-b6539000 rw-p 0000d000 fc:00 3413065    /usr/lib/i386-linux-
gnu/libheimbase.so.1.0.0
b6539000-b6560000 r-xp 00000000 fc:00 3413414    /usr/lib/i386-linux-
gnu/libwind.so.0.0.0
b6560000-b6561000 r--p 00027000 fc:00 3413414    /usr/lib/i386-linux-
gnu/libwind.so.0.0.0
b6561000-b6562000 rw-p 00028000 fc:00 3413414    /usr/lib/i386-linux-
gnu/libwind.so.0.0.0
b6562000-b6575000 r-xp 00000000 fc:00 3413290    /usr/lib/i386-linux-
gnu/libroken.so.18.1.0
b6575000-b6576000 r--p 00013000 fc:00 3413290    /usr/lib/i386-linux-
gnu/libroken.so.18.1.0
b6576000-b6577000 rw-p 00014000 fc:00 3413290    /usr/lib/i386-linux-
gnu/libroken.so.18.1.0
b6577000-b65a8000 r-xp 00000000 fc:00 3413063    /usr/lib/i386-linux-
gnu/libhcrypto.so.4.1.0
b65a8000-b65a9000 r--p 00031000 fc:00 3413063    /usr/lib/i386-linux-
gnu/libhcrypto.so.4.1.0
b65a9000-b65aa000 rw-p 00032000 fc:00 3413063    /usr/lib/i386-linux-
gnu/libhcrypto.so.4.1.0
b65aa000-b65ab000 rw-p 00000000 00:00 0 
b65ab000-b6647000 r-xp 00000000 fc:00 3412717    /usr/lib/i386-linux-
gnu/libasn1.so.8.0.0
b6647000-b6648000 r--p 0009c000 fc:00 3412717    /usr/lib/i386-linux-
gnu/libasn1.so.8.0.0
b6648000-b664a000 rw-p 0009d000 fc:00 3412717    /usr/lib/i386-linux-
gnu/libasn1.so.8.0.0
b664a000-b66c7000 r-xp 00000000 fc:00 3413124    /usr/lib/i386-linux-
gnu/libkrb5.so.26.0.0
b66c7000-b66c9000 r--p 0007c000 fc:00 3413124    /usr/lib/i386-linux-
gnu/libkrb5.so.26.0.0
b66c9000-b66cb000 rw-p 0007e000 fc:00 3413124    /usr/lib/i386-linux-
gnu/libkrb5.so.26.0.0
b66cb000-b66d1000 r-xp 00000000 fc:00 3413067    /usr/lib/i386-linux-
gnu/libheimntlm.so.0.1.0
b66d1000-b66d2000 r--p 00005000 fc:00 3413067    /usr/lib/i386-linux-
gnu/libheimntlm.so.0.1.0
b66d2000-b66d3000 rw-p 00006000 fc:00 3413067    /usr/lib/i386-linux-
gnu/libheimntlm.so.0.1.0
b66d3000-b66d5000 r-xp 00000000 fc:00 6030193    /lib/i386-linux-
gnu/libkeyutils.so.1.4
b66d5000-b66d6000 r--p 00002000 fc:00 6030193    /lib/i386-linux-
gnu/libkeyutils.so.1.4
b66d6000-b66d7000 rw-p 00003000 fc:00 6030193    /lib/i386-linux-
gnu/libkeyutils.so.1.4
b66d7000-b66da000 r-xp 00000000 fc:00 6030182    /lib/i386-linux-gnu/libgpg-
error.so.0.8.0
b66da000-b66db000 r--p 00002000 fc:00 6030182    /lib/i386-linux-gnu/libgpg-
error.so.0.8.0
b66db000-b66dc000 rw-p 00003000 fc:00 6030182    /lib/i386-linux-gnu/libgpg-
error.so.0.8.0
b66dc000-b66ee000 r-xp 00000000 fc:00 3413209    /usr/lib/i386-linux-gnu/libp11-
kit.so.0.0.0
b66ee000-b66ef000 r--p 00011000 fc:00 3413209    /usr/lib/i386-linux-gnu/libp11-
kit.so.0.0.0
b66ef000-b66f0000 rw-p 00012000 fc:00 3413209    /usr/lib/i386-linux-gnu/libp11-
kit.so.0.0.0
b66f0000-b6700000 r-xp 00000000 fc:00 3413349    /usr/lib/i386-linux-
gnu/libtasn1.so.3.2.0
b6700000-b6701000 r--p 0000f000 fc:00 3413349    /usr/lib/i386-linux-
gnu/libtasn1.so.3.2.0
b6701000-b6702000 rw-p 00010000 fc:00 3413349    /usr/lib/i386-linux-
gnu/libtasn1.so.3.2.0
b6702000-b673b000 r-xp 00000000 fc:00 3412967    /usr/lib/i386-linux-
gnu/libgssapi.so.3.0.0
b673b000-b673c000 r--p 00038000 fc:00 3412967    /usr/lib/i386-linux-
gnu/libgssapi.so.3.0.0
b673c000-b673d000 rw-p 00039000 fc:00 3412967    /usr/lib/i386-linux-
gnu/libgssapi.so.3.0.0
b673d000-b673e000 rw-p 00000000 00:00 0 
b673e000-b6757000 r-xp 00000000 fc:00 3413305    /usr/lib/i386-linux-
gnu/libsasl2.so.2.0.25
b6757000-b6758000 r--p 00019000 fc:00 3413305    /usr/lib/i386-linux-
gnu/libsasl2.so.2.0.25
b6758000-b6759000 rw-p 0001a000 fc:00 3413305    /usr/lib/i386-linux-
gnu/libsasl2.so.2.0.25
b6759000-b6760000 r-xp 00000000 fc:00 3413128    /usr/lib/i386-linux-
gnu/libkrb5support.so.0.1
b6760000-b6761000 r--p 00006000 fc:00 3413128    /usr/lib/i386-linux-
gnu/libkrb5support.so.0.1
b6761000-b6762000 rw-p 00007000 fc:00 3413128    /usr/lib/i386-linux-
gnu/libkrb5support.so.0.1
b6762000-b6765000 r-xp 00000000 fc:00 6030158    /lib/i386-linux-
gnu/libcom_err.so.2.1
b6765000-b6766000 r--p 00002000 fc:00 6030158    /lib/i386-linux-
gnu/libcom_err.so.2.1
b6766000-b6767000 rw-p 00003000 fc:00 6030158    /lib/i386-linux-
gnu/libcom_err.so.2.1
b6767000-b678d000 r-xp 00000000 fc:00 3413122    /usr/lib/i386-linux-
gnu/libk5crypto.so.3.1
b678d000-b678e000 r--p 00026000 fc:00 3413122    /usr/lib/i386-linux-
gnu/libk5crypto.so.3.1
b678e000-b678f000 rw-p 00027000 fc:00 3413122    /usr/lib/i386-linux-
gnu/libk5crypto.so.3.1
b678f000-b6856000 r-xp 00000000 fc:00 3413126    /usr/lib/i386-linux-
gnu/libkrb5.so.3.3
b6856000-b685c000 r--p 000c6000 fc:00 3413126    /usr/lib/i386-linux-
gnu/libkrb5.so.3.3
b685c000-b685d000 rw-p 000cc000 fc:00 3413126    /usr/lib/i386-linux-
gnu/libkrb5.so.3.3
b685d000-b68de000 r-xp 00000000 fc:00 6030178    /lib/i386-linux-
gnu/libgcrypt.so.11.7.0
b68de000-b68df000 r--p 00080000 fc:00 6030178    /lib/i386-linux-
gnu/libgcrypt.so.11.7.0
b68df000-b68e1000 rw-p 00081000 fc:00 6030178    /lib/i386-linux-
gnu/libgcrypt.so.11.7.0
b68e1000-b69a1000 r-xp 00000000 fc:00 3417148    /usr/lib/i386-linux-
gnu/libgnutls.so.26.22.6
b69a1000-b69a5000 r--p 000bf000 fc:00 3417148    /usr/lib/i386-linux-
gnu/libgnutls.so.26.22.6
b69a5000-b69a6000 rw-p 000c3000 fc:00 3417148    /usr/lib/i386-linux-
gnu/libgnutls.so.26.22.6
b69a6000-b69f4000 r-xp 00000000 fc:00 3413138    /usr/lib/i386-linux-
gnu/libldap_r-2.4.so.2.8.3
b69f4000-b69f5000 r--p 0004e000 fc:00 3413138    /usr/lib/i386-linux-
gnu/libldap_r-2.4.so.2.8.3
b69f5000-b69f6000 rw-p 0004f000 fc:00 3413138    /usr/lib/i386-linux-
gnu/libldap_r-2.4.so.2.8.3
b69f6000-b69f7000 rw-p 00000000 00:00 0 
b69f7000-b6a04000 r-xp 00000000 fc:00 3413131    /usr/lib/i386-linux-
gnu/liblber-2.4.so.2.8.3
b6a04000-b6a05000 r--p 0000c000 fc:00 3413131    /usr/lib/i386-linux-
gnu/liblber-2.4.so.2.8.3Aborted
 [2013-06-13 09:47 UTC] damian dot vila at alineasol dot com
In 5.4.14 crashes too. (Rhel 6.2)
 [2013-06-13 12:04 UTC] ab@php.net
@alix, @damian please check 5.4.16 or 5.5RC2, this should be gone there.
 [2014-10-07 23:19 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=74555e7c26b2c61bb8e67b7d6a6f4d2b8eb3a5f3
Log: Fixed bug #64830 mimetype detection segfaults on mp3 file
 [2014-10-07 23:30 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=74555e7c26b2c61bb8e67b7d6a6f4d2b8eb3a5f3
Log: Fixed bug #64830 mimetype detection segfaults on mp3 file
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 11:01:29 2024 UTC