summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_debug.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-05-26 07:28:43 +0000
committerAndrey Hristov <andrey@php.net>2010-05-26 07:28:43 +0000
commitd6458c3b1e51326899fbcc800c173eeca9989a44 (patch)
tree8d1bfc8c0b3c9532770b29fea2fe577dfc274ef5 /ext/mysqlnd/mysqlnd_debug.c
parent00191c3c34e212c6812d32bb9e225bcf73b6930a (diff)
downloadphp-git-d6458c3b1e51326899fbcc800c173eeca9989a44.tar.gz
Add checks to check the underlying pointer in the resource.
It can happen that the underlying pointer is freed (like in the case of connection reconnect), and then it cannot be allocated anymore, which means that NULL will be used consequently by the functions that fetch the resource and the crash is immediate.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_debug.c')
0 files changed, 0 insertions, 0 deletions