projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
4e3211c
)
- initialize class entries, or else the ZE will try to access ce->handlers that point...
author
Michael Wallner
<mike@php.net>
Tue, 8 Nov 2005 08:39:56 +0000
(08:39 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 8 Nov 2005 08:39:56 +0000
(08:39 +0000)
php_http_std_defs.h
patch
|
blob
|
history
diff --git
a/php_http_std_defs.h
b/php_http_std_defs.h
index 40dc8c769e1b0ec00ca1b6e7364652697513de85..e8f8b4dca30c335ab3d59e0f52e10d7b8040593a 100644
(file)
--- a/
php_http_std_defs.h
+++ b/
php_http_std_defs.h
@@
-197,6
+197,7
@@
typedef int STATUS;
# define HTTP_REGISTER_CLASS_EX(classname, name, parent, flags) \
{ \
zend_class_entry ce; \
+ memset(&ce, 0, sizeof(zend_class_entry)); \
INIT_CLASS_ENTRY(ce, #classname, name## _fe); \
ce.create_object = _ ##name## _new; \
name## _ce = zend_register_internal_class_ex(&ce, parent, NULL TSRMLS_CC); \