|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patches0001_fix-format-security.patch (last revision 2013-08-07 08:02 UTC by ondrej@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-08-07 08:02 UTC] ondrej@php.net
[2014-02-28 12:22 UTC] uw@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: uw
[2014-02-28 12:22 UTC] uw@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 14:00:01 2025 UTC |
Description: ------------ 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': /tmp/buildd/php-mysqlnd-ms-1.5.2/mysqlnd_ms-1.5.2/mysqlnd_ms_config_json.c:251:5: error: format not a string literal and no format arguments [-Werror=format- security] php_error_docref(NULL TSRMLS_CC, E_WARNING, MYSQLND_MS_G(config_startup_error)); ^ cc1: some warnings being treated as errors make[1]: *** [mysqlnd_ms_config_json.lo] Error 1