Re: [PATCH] sprintf() argnum
| From: | derick@php.net | Date: | Fri, 22 Mar 2002 09:20:45 +0000 |
| Subject: | Re: [PATCH] sprintf() argnum | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81613@lists.php.net to get a copy of this message | ||
Hello,
I committed this patch to CVS.
Derick
On 21 Mar 2002, Morten Poulsen wrote:
> Hi,
>
> I discovered a bug in sprintf()'s argument swapping code. It accepts an
> argument number of zero, which is invalid. It is handled in different
> ways in different libcs, but i figured the best way to handle it in PHP
> was to make the functioncall fail. Patch is attached.
>
> Best regards,
> Morten
>
> PS. Thanks to mbn for whining :-)
>
> --
> Morten Poulsen <morten@afdelingp.dk>
> http://www.afdelingp.dk/
>
-----------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
-----------------------------------------------------------------------