Re: com php-src: sapi/litespeed/lsapi_main.c: Fix bug #63228: sapi/litespeed/lsapi_main.c
| From: | Felipe Pena | Date: | Thu, 01 May 2014 11:36:55 +0000 |
| Subject: | Re: com php-src: sapi/litespeed/lsapi_main.c: Fix bug #63228: sapi/litespeed/lsapi_main.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-77211@lists.php.net to get a copy of this message | ||
On Thu, May 1, 2014 at 5:07 AM, Ferenc Kovacs <tyra3l@gmail.com> wrote:
>
>
>
> On Tue, Apr 22, 2014 at 3:48 PM, Felipe Pena <felipe@php.net> wrote:
>>
>> Commit: 742f4704a97844654bde3f9f054e6678ef897a1a
>> Author: George Wang <gwang@php.net> Fri, 12 Oct 2012 13:04:22
>> -0400
>> Committer: Felipe Pena <felipensp@gmail.com> Tue, 22 Apr 2014
>> 10:48:14 -0300
>> Parents: 4784d99866346d49d19027ebd955775a7279e248
>> Branches: PHP-5.6 master
>>
>> Link:
>>
>> http://git.php.net/?p=php-src.git;a=commitdiff;h=742f4704a97844654bde3f9f054e6678ef897a1a
>>
>> Log:
>> sapi/litespeed/lsapi_main.c: Fix bug #63228
>>
>> Fix compiling error at line 606 (error: format not a string
>> literal and no format arguments [-Werror=format-security]
>>
>> Bugs:
>> https://bugs.php.net/63228
>>
>> Changed paths:
>> M sapi/litespeed/lsapi_main.c
>>
>>
>> Diff:
>> diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c
>> index 33ebb98..34ae751 100644
>> --- a/sapi/litespeed/lsapi_main.c
>> +++ b/sapi/litespeed/lsapi_main.c
>> @@ -615,7 +615,7 @@ static void cli_usage( TSRMLS_D )
>> " args... Arguments passed to script.\n";
>> php_output_startup();
>> php_output_activate(TSRMLS_C);
>> - php_printf( usage );
>> + php_printf( "%s", usage );
>> #ifdef PHP_OUTPUT_NEWAPI
>> php_output_end_all(TSRMLS_C);
>> #else
>>
>>
>> --
>> PHP CVS Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> this is missing the NEWS entry.
>
> --
> Ferenc Kovács
> @Tyr43l - http://tyrael.hu
I just merged an old fix to 5.6 and master.
--
Regards,
Felipe Pena