|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65408 error: format not a string literal and no format arguments [-Werror=format-secu
Submitted: 2013-08-07 08:02 UTC Modified: 2014-02-28 12:22 UTC
From: Assigned: uw (profile)
Status: Closed Package: mysqlnd_ms (PECL)
PHP Version: Irrelevant OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2013-08-07 08:02 UTC]
Debian defaults to using -Werror=format-security when hardening the package and 
that results to compile error.

The patch is very simple (and attached).

Expected result:
File compiles OK.

Actual result:
/tmp/buildd/php-mysqlnd-ms-1.5.2/mysqlnd_ms-1.5.2/mysqlnd_ms_config_json.c: In 
function 'mysqlnd_ms_config_json_load_configuration':
error: format not a string literal and no format arguments [-Werror=format-
     php_error_docref(NULL TSRMLS_CC, E_WARNING, 
cc1: some warnings being treated as errors
make[1]: *** [mysqlnd_ms_config_json.lo] Error 1


0001_fix-format-security.patch (last revision 2013-08-07 08:02 UTC by

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-08-07 08:02 UTC]
The following patch has been added/updated:

Patch Name: 0001_fix-format-security.patch
Revision:   1375862567
 [2014-02-28 12:22 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: uw
 [2014-02-28 12:22 UTC]
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jul 05 14:01:39 2020 UTC