mirror of
https://github.com/php/php-src.git
synced 2026-03-28 02:02:32 +01:00
Added second fix from #50987 that wasn't apart of Ilia's commit
This commit is contained in:
@@ -512,7 +512,7 @@ void phar_entry_remove(phar_entry_data *idata, char **error TSRMLS_DC) /* {{{ */
|
||||
(buffer) += 2
|
||||
#else
|
||||
# define PHAR_GET_32(buffer, var) \
|
||||
var = *(php_uint32*)(buffer); \
|
||||
memcpy(&var, buffer, sizeof(var)); \
|
||||
buffer += 4
|
||||
# define PHAR_GET_16(buffer, var) \
|
||||
var = *(php_uint16*)(buffer); \
|
||||
|
||||
Reference in New Issue
Block a user