php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58752 does not build with -Werror=format-security
Submitted: 2009-07-05 11:50 UTC Modified: 2009-07-05 13:54 UTC
From: oeriksson at mandriva dot com Assigned: jluedke (profile)
Status: Closed Package: drizzle (PECL)
PHP Version: 5.2.9 OS: Mandriva Linux
Private report: No CVE-ID: None
 [2009-07-05 11:50 UTC] oeriksson at mandriva dot com
Description:
------------
does not build with -Werror=format-security

Reproduce code:
---------------
as usually done

Expected result:
----------------
should build

Actual result:
--------------
/bin/sh /home/mandrake/rpm/BUILD/drizzle-0.4.1/libtool --mode=compile cc  -I. -I/home/mandrake/rpm/BUILD/drizzle-0.4.1 -DPHP_ATOM_INC -I/home/mandrake/rpm/BUILD/drizzle-0.4.1/include -I/home/mandrake/rpm/BUILD/drizzle-0.4.1/main -I/home/mandrake/rpm/BUILD/drizzle-0.4.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall   -c /home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c -o php_drizzle.lo 
libtool: compile:  cc -I. -I/home/mandrake/rpm/BUILD/drizzle-0.4.1 -DPHP_ATOM_INC -I/home/mandrake/rpm/BUILD/drizzle-0.4.1/include -I/home/mandrake/rpm/BUILD/drizzle-0.4.1/main -I/home/mandrake/rpm/BUILD/drizzle-0.4.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -c /home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c  -fPIC -DPIC -o .libs/php_drizzle.o
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_con_set_fd':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:1747: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_con_wait':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:1778: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_con_connect':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2320: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_server_handshake_read':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2343: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_client_handshake_write':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2362: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_quit':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2386: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2386: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_select_db':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2406: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2406: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_refresh':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2425: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2425: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_shutdown':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2444: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2444: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_stat':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2462: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2462: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_debug_info':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2480: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2480: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_ping':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2498: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2498: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_change_user':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2524: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2524: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_command_write':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2549: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2549: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_query':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2661: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2661: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_query_inc':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2685: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2685: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_query_run':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:2986: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_query_run_all':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:3029: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_result_read':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:3400: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:3400: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_result_buffer':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:3417: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_column_skip':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:3768: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_column_buffer':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:3819: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_row_read':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:3969: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_row_buffer':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:3991: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_field_read':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:4113: error: format not a string literal and no format arguments
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c: In function 'zif_drizzle_field_buffer':
/home/mandrake/rpm/BUILD/drizzle-0.4.1/php_drizzle.c:4144: error: format not a string literal and no format arguments


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-05 13:54 UTC] contact at jamesluedke dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Should be fixed in cvs. Thanks for submitting.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Nov 17 02:01:38 2019 UTC