summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_opcode.h
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2014-01-21 16:28:30 +0100
committerJohannes Schlüter <johannes@php.net>2014-01-21 16:28:30 +0100
commit2311ba7d3ff08d27bd7d4b87b51a0f96c5d62d12 (patch)
tree0cd92c2c6af31eea71e0e2fe4c1a884d6c0b182f /sapi/phpdbg/phpdbg_opcode.h
parent2bd68bf03940769cbd59e5876935147291fd4017 (diff)
downloadphp-git-2311ba7d3ff08d27bd7d4b87b51a0f96c5d62d12.tar.gz
Fix bug #66283 (Segmentation fault after memory_limit)
There are situations where mysqlnd dupliates zvals while freeing result sets. If the memory_limit is reached during this operation the engine will bailout. This patch makes sure that a later attempt (during RSHIUTDOWN) won't cause a double free, instead we rely on the engine to free emalloc()ed memory after bailout.
Diffstat (limited to 'sapi/phpdbg/phpdbg_opcode.h')
0 files changed, 0 insertions, 0 deletions