diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-03-02 15:26:59 +0100 |
---|---|---|
committer | Derick Rethans <github@derickrethans.nl> | 2020-03-17 09:47:02 +0000 |
commit | 54bccd7345b1f95cce2554362f761ba5f0afa24c (patch) | |
tree | 7c7faafa514463aa34689916a3bcc28329426a80 /sapi/activescript/php5as_scriptengine.h | |
parent | 69155120e68d2e614d5c300974a1a5610cfa2e8b (diff) | |
download | php-git-54bccd7345b1f95cce2554362f761ba5f0afa24c.tar.gz |
Fix #79283: Segfault in libmagic patch contains a buffer overflow
To solve this, we properly calculate the required string length upfront
instead of allocating an oversized string (`len * 4 + 4`).
Diffstat (limited to 'sapi/activescript/php5as_scriptengine.h')
0 files changed, 0 insertions, 0 deletions