Re: cvs: php-src / configure.in /ext/fileinfo/libmagic print.c /main snprintf.c snprintf.h

From: Date: Thu, 27 Nov 2008 21:10:27 +0000
Subject: Re: cvs: php-src / configure.in /ext/fileinfo/libmagic print.c /main snprintf.c snprintf.h
References: 1 2 3  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-54516@lists.php.net to get a copy of this message
Do we have other extensions using libmagic other then fileinfo? Otherwise, could we not solve it with define flags for fileinfo extension? On 27-Nov-08, at 3:40 PM, Scott MacVicar wrote:
On 27 Nov 2008, at 20:33, Ilia Alshanetsky wrote:
Is there a reason you do not want to use PHP wrappers & allocation protection? On 27-Nov-08, at 2:45 PM, Scott MacVicar wrote:
scottmac Thu Nov 27 19:45:16 2008 UTC Modified files: /php-src configure.in /php-src/ext/fileinfo/libmagic print.c /php-src/main snprintf.c snprintf.h Log: Add asprintf, use regular system malloc and free and add checks in configure.in for the functions
Ilia Alshanetsky
If you didn't realise you were using a PHP version and used a free() as you'd expect to work then you'd get the memory manager complaining later on. Scott
Ilia Alshanetsky

« previous php.cvs (#54516) next »