mirror of
https://github.com/php/php-src.git
synced 2026-04-18 21:41:22 +02:00
2c204a55af9b903b3db48dd5a75d492dbf1b387d
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.
…
…
…
…
The Win32 Build System. See http://wiki.php.net/internals/windows/stepbystepbuild vim:tw=78:sw=1:ts=1:et
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:23.756Z
Languages
C
66.1%
PHP
31.2%
C++
0.8%
Shell
0.5%
M4
0.4%
Other
0.8%