summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.h
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2001-08-04 16:53:57 +0000
committerThies C. Arntzen <thies@php.net>2001-08-04 16:53:57 +0000
commit3884b15b9544f6d9d749d14d2b0cad9eca29a201 (patch)
tree9dd58c2bd26b6604f67be48df38384e5736bbee0 /ext/standard/basic_functions.h
parentd789d45a2ea2280ad6eff2c391569fe513e6b2f9 (diff)
downloadphp-git-3884b15b9544f6d9d749d14d2b0cad9eca29a201.tar.gz
fix possible crash - we should never keep the zval** as they might point
somewhere into the Engine. (there's still a new bug in strtok - hunting;-)
Diffstat (limited to 'ext/standard/basic_functions.h')
-rw-r--r--ext/standard/basic_functions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h
index 900a1b13f5..e22a604eeb 100644
--- a/ext/standard/basic_functions.h
+++ b/ext/standard/basic_functions.h
@@ -141,7 +141,7 @@ typedef signed int php_int32;
typedef struct {
HashTable *user_shutdown_function_names;
HashTable putenv_ht;
- zval **strtok_zval;
+ zval *strtok_zval;
char *strtok_string;
char *locale_string;
char *strtok_last;