Bug #61536 [NEW]: when building with hardening-wrapper, mysqlnd fails with format exceptions
| From: | i dot galic at brainsware dot org | Date: | Wed, 28 Mar 2012 00:19:22 +0000 |
| Subject: | Bug #61536 [NEW]: when building with hardening-wrapper, mysqlnd fails with format exceptions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-168894@lists.php.net to get a copy of this message | ||
From:
Operating system: Ubuntu
PHP version: 5.4.0
Package: MySQL related
Bug Type: Bug
Bug description:when building with hardening-wrapper, mysqlnd fails with format exceptions
Description:
------------
when building with hardening-wrapper, mysqlnd fails with format exceptions
Test script:
---------------
add CFLAGS="$CFLAGS -Werror=format-security"
Expected result:
----------------
Everything builds happily.
Actual result:
--------------
php-5.4.0/ext/mysqlnd/mysqlnd_wireprotocol.c: In function
âphp_mysqlnd_auth_writeâ:
php-5.4.0/ext/mysqlnd/mysqlnd_wireprotocol.c:503:4: error: format not a
string literal and no format arguments [-Werror=format-security]
cc1: some warnings being treated as errors
--
Edit bug report at https://bugs.php.net/bug.php?id=61536&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61536&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61536&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61536&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61536&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61536&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61536&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61536&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61536&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61536&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61536&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61536&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61536&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61536&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61536&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61536&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61536&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61536&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61536&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61536&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61536&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61536&r=mysqlcfg