summaryrefslogtreecommitdiff
path: root/sapi/apache_hooks/php5apache_hooks.dsp
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-03-02 15:26:59 +0100
committerDerick Rethans <github@derickrethans.nl>2020-03-17 09:47:02 +0000
commit54bccd7345b1f95cce2554362f761ba5f0afa24c (patch)
tree7c7faafa514463aa34689916a3bcc28329426a80 /sapi/apache_hooks/php5apache_hooks.dsp
parent69155120e68d2e614d5c300974a1a5610cfa2e8b (diff)
downloadphp-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/apache_hooks/php5apache_hooks.dsp')
0 files changed, 0 insertions, 0 deletions