1
0
mirror of https://github.com/php/php-src.git synced 2026-04-09 17:13:31 +02:00
Files
archived-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
..
2009-03-16 15:03:06 +00:00
2014-01-03 11:04:26 +08:00
2014-03-10 14:12:20 +01:00
2008-07-25 09:16:22 +00:00
2014-01-03 11:04:26 +08:00