Re: Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h
| From: | Andi Gutmans | Date: | Mon, 12 Mar 2001 16:25:30 +0000 |
| Subject: | Re: Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-48746@lists.php.net to get a copy of this message | ||
I commited a patch but didn't test it.
Andrei, please make sure I don't have some dumb bug there.
Andi
At 10:12 AM 3/12/2001 -0600, Jason Greene wrote:
strlcpy, and strlcat are in the win32 build (main/strlcat.c main/strlcpy.c) why dont you malloc a buffer that would fit the sprintf data, and then strlcpy the size restriction? -Jason ----- Original Message ----- From: "Andrei Zmievski" <andrei@ispi.net> To: "Zeev Suraski" <zeev@zend.com> Cc: "php-dev mailinglist" <php-dev@lists.php.net> Sent: Monday, March 12, 2001 9:09 AM Subject: Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h On Mon, 12 Mar 2001, Zeev Suraski wrote:No, it's really inaccessible :) We managed to write the engine without needing it... Is it impossible to replace it with other functions?How do you sprintf to buffer of fixed size without possible overflow? I suppose I could use strlcat() to build the string piece by piece. Is that available in the engine? -Andrei When we eliminate the impossible, whatever remains, however improbable, must be true. -- Sherlock Holmes -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net