summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-07-22 01:10:30 +0000
committerSascha Schumann <sas@php.net>2003-07-22 01:10:30 +0000
commit07b9f0c1d5dcaee66af24bae6f60469683051590 (patch)
tree51c7c961bd309697d7dc0a8eb468d921623cb6df /ext/mysql/php_mysql.c
parent61fc0ba6b297a9fde92c03f35e5654ecf86ed87c (diff)
downloadphp-git-07b9f0c1d5dcaee66af24bae6f60469683051590.tar.gz
Proper fix for #24592
The core issue is that undefined variables are refcounted (refcount != 0) while is_ref is still set to 0. I don't know whether this is a bug in the engine, but is it not the first time this irregularity has caused problems for the session extension. The irregularity confused ZEND_SET_SYMBOL_WITH_LENGTH which then did the wrong thing WRT null values. Fortunately, nulls can simply be ignored in this case, thus the old code is restored and a new condition is added.
Diffstat (limited to 'ext/mysql/php_mysql.c')
0 files changed, 0 insertions, 0 deletions