summaryrefslogtreecommitdiff
path: root/sapi/thttpd/thttpd.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-01-09 05:49:37 +0000
committerSascha Schumann <sas@php.net>2001-01-09 05:49:37 +0000
commitdbb3402c0fedeef81b3e90790892c6018250f8fb (patch)
tree41566c20b36faa7c1c26b698effd3f1f294cbfa4 /sapi/thttpd/thttpd.c
parent426d4104eac5c133f6777bd0fb858e2bc55e45c8 (diff)
downloadphp-git-dbb3402c0fedeef81b3e90790892c6018250f8fb.tar.gz
php_add_var_hash() uses sizeof(id) in the calls to zend_hash_*, implying
that all bytes in the character array have been set (they are used to compute the hash value using hashpjw). The function assumes that sprintf's %p modifier would always prefix the output with "0x". On HPUX, this is not the case. Hence, not all bytes may be properly initialized before being read. This has been addressed by using only initialized bytes as the key.
Diffstat (limited to 'sapi/thttpd/thttpd.c')
0 files changed, 0 insertions, 0 deletions