diff options
| author | Zeev Suraski <zeev@php.net> | 1999-09-13 00:35:03 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-09-13 00:35:03 +0000 |
| commit | 3f0696dada83f24df10dc1a0c05980690584eadf (patch) | |
| tree | 2bdbaacd6212b2da9f72c23de2373a9562909632 /ext/standard/post.c | |
| parent | b2c0acb9ecc43387328a30cc3bb85ebd35fc454b (diff) | |
| download | php-git-3f0696dada83f24df10dc1a0c05980690584eadf.tar.gz | |
Fix a buglet, and avoid crashing in phpinfo() (fixes an elusive legacy bug too)
Diffstat (limited to 'ext/standard/post.c')
| -rw-r--r-- | ext/standard/post.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/post.c b/ext/standard/post.c index 2599690222..8b37dc8ed2 100644 --- a/ext/standard/post.c +++ b/ext/standard/post.c @@ -295,6 +295,7 @@ void php_parse_gpc_data2(char *val, char *var, pval *track_vars_array ELS_DC PLS if (symtable2 && top_gpc_p) { zend_hash_update(symtable2, var, var_len+1, top_gpc_p, sizeof(zval *), NULL); + (*top_gpc_p)->refcount++; } } |
