php-src/ext/fileinfo
Remi Collet 2c204a55af Fixed Bug #66987 Memory corruption in fileinfo ext (bigendian)
On little endian:
	map->p == php_magic_database
	map->magic[i] = pointer into the map

	map->p == NULL
	map->magic[i] = pointer to allocated memory

On big endian (ppc64, s390x, ...):
	map->p != php_magic_database and map->p != NULL
        map->magic[i] = pointer into a copy of the map

Trying to efree pointer in the later cause memory corruption
Thanks to dkatulek / Red Hat for the report.
2014-03-31 16:50:47 +02:00
..
libmagic Fixed Bug #66987 Memory corruption in fileinfo ext (bigendian) 2014-03-31 16:50:47 +02:00
tests Fixed Bug #66731 file: infinite recursion 2014-02-18 13:54:33 +01:00
config.m4 MFH Update fileinfo to libmagic 5.00 and remove dependency on dirent.h on Windows 2009-03-15 23:04:19 +00:00
config.w32 Backported the fix for bug #63248 from 5.4+ 2012-11-23 13:58:22 +01:00
create_data_file.php This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-07-25 02:44:58 +00:00
CREDITS - fix the build for win (vc6 or vc9) 2009-03-16 15:03:06 +00:00
data_file.c Fixed bug #66946 extensive backtracking in awk rule regular expression 2014-03-25 11:00:33 +01:00
EXPERIMENTAL This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2007-09-26 15:44:16 +00:00
fileinfo.c Bump year 2014-01-03 11:04:26 +08:00
fileinfo.php This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2007-09-26 15:44:16 +00:00
libmagic.patch updated libmagic.patch 2014-03-10 14:12:20 +01:00
magicdata.patch Fixed bug #66946 extensive backtracking in awk rule regular expression 2014-03-25 10:58:50 +01:00
Makefile.frag MFH: enable fileinfo by default 2008-07-25 09:16:22 +00:00
package.xml This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2007-09-26 15:44:16 +00:00
php_fileinfo.h Bump year 2014-01-03 11:04:26 +08:00