cvs: pecl /bcompiler bcompiler.c

From: Date: Sun, 27 Mar 2005 19:31:41 +0000
Subject: cvs: pecl /bcompiler bcompiler.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-2906@lists.php.net to get a copy of this message
val Sun Mar 27 14:31:41 2005 EDT Modified files: /pecl/bcompiler bcompiler.c Log: zero class_entry before deserializing (fixes a bug with freeing doc_comment) http://cvs.php.net/diff.php/pecl/bcompiler/bcompiler.c?r1=1.81&r2=1.82&ty=u Index: pecl/bcompiler/bcompiler.c diff -u pecl/bcompiler/bcompiler.c:1.81 pecl/bcompiler/bcompiler.c:1.82 --- pecl/bcompiler/bcompiler.c:1.81 Sun Feb 20 15:51:17 2005 +++ pecl/bcompiler/bcompiler.c Sun Mar 27 14:31:41 2005 @@ -20,7 +20,7 @@ | Mike Bretz <mike@metropolis-ag.de> | +----------------------------------------------------------------------+ */ -/* $Id: bcompiler.c,v 1.81 2005/02/20 20:51:17 val Exp $ */ +/* $Id: bcompiler.c,v 1.82 2005/03/27 19:31:41 val Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -2833,6 +2833,7 @@ { *zce = (zend_class_entry*) emalloc(sizeof(zend_class_entry)); + memset(*zce, 0, sizeof(**zce)); apc_deserialize_zend_class_entry(*zce, key, key_len TSRMLS_CC); }

« previous php.pecl.cvs (#2906) next »