Re: cvs: php4 /main SAPI.c

From: Date: Tue, 11 Feb 2003 23:17:08 +0000
Subject: Re: cvs: php4 /main SAPI.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18697@lists.php.net to get a copy of this message
On Wed, Feb 12, 2003 at 08:13:49AM +0900, Moriyoshi Koizumi wrote: > some clarification here so I can find snprintf related bugs elsewhere. As long as snprintf must not truncate it will return the number of written bytes (excluding '\0'). If sprintf must truncate it either returns -1 or (if it is C99 compatible) the number of bytes that would have been written if there would be enough space. -- -------------------------------------------------------------------------- Stefan Esser s.esser@e-matters.de e-matters Security http://security.e-matters.de/ GPG-Key gpg --keyserver pgp.mit.edu --recv-key 0xCF6CAE69 Key fingerprint B418 B290 ACC0 C8E5 8292 8B72 D6B0 7704 CF6C AE69 -------------------------------------------------------------------------- Did I help you? Consider a gift: http://wishlist.suspekt.org/ --------------------------------------------------------------------------

« previous php.cvs (#18697) next »