]> granicus.if.org Git - php/commit
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file
authorAnatol Belski <ab@php.net>
Sun, 27 Mar 2016 22:45:19 +0000 (00:45 +0200)
committerAnatol Belski <ab@php.net>
Sun, 27 Mar 2016 22:45:19 +0000 (00:45 +0200)
commite93c6910fceb62d19fe143e351a86eee8df9b456
tree96b6cf856de703f127de48bbb3319d8545479b59
parent1e9b175204e3286d64dfd6c9f09151c31b5e099a
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

The actual fix is applying the upstream patch from
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36
ext/fileinfo/libmagic/funcs.c
ext/fileinfo/tests/bug68996.phpt
ext/fileinfo/tests/bug71527.magic [new file with mode: 0644]
ext/fileinfo/tests/bug71527.phpt [new file with mode: 0644]