diff options
author | Remi Collet <remi@php.net> | 2014-03-04 20:32:52 +0100 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2014-03-04 11:54:11 -0800 |
commit | 71e21e17a1b05afa6d4fed4f8a56c065bafeefc4 (patch) | |
tree | e1f629f6e9fc200611f74b27924aec79acacd7dc /ext/mysql/php_mysql_structs.h | |
parent | fc8f0c34f73ab6d399a1365e35af7f2d3457223c (diff) | |
download | php-git-71e21e17a1b05afa6d4fed4f8a56c065bafeefc4.tar.gz |
Fixed Bug #66820 out-of-bounds memory access in fileinfo
Upstream fix:
https://github.com/glensc/file/commit/447558595a3650db2886cd2f416ad0beba965801
Notice, test changed, with upstream agreement:
-define OFFSET_OOB(n, o, i) ((n) < (o) || (i) >= ((n) - (o)))
+define OFFSET_OOB(n, o, i) ((n) < (o) || (i) > ((n) - (o)))
Diffstat (limited to 'ext/mysql/php_mysql_structs.h')
0 files changed, 0 insertions, 0 deletions