mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
2c204a55af
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. |
||
---|---|---|
.. | ||
libmagic | ||
tests | ||
config.m4 | ||
config.w32 | ||
create_data_file.php | ||
CREDITS | ||
data_file.c | ||
EXPERIMENTAL | ||
fileinfo.c | ||
fileinfo.php | ||
libmagic.patch | ||
magicdata.patch | ||
Makefile.frag | ||
package.xml | ||
php_fileinfo.h |