Re: cvs: php4 /ext/snmp snmp.c

From: Date: Sat, 01 Jul 2000 22:31:10 +0000
Subject: Re: cvs: php4 /ext/snmp snmp.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-582@lists.php.net to get a copy of this message
On Sat, 1 Jul 2000, Sterling Hughes wrote: > sterling Sat Jul 1 14:34:45 2000 EDT > > Modified files: > /php4/ext/snmp snmp.c > Log: > - strdup -> estrdup > - check whether return_value array is initialized. .. > @@ -210,9 +217,9 @@ > * memory it did not allocate > */ > #ifdef UCD_SNMP_HACK > - session.community = (u_char *) strdup((*a2)->value.str.val); > + session.community = (u_char *)estrdup((*a2)->value.str.val); No, this is freed by the snmp library. Please revert that change. - Sascha

« previous php.cvs (#582) next »