Bison generated code triggers -Werror=format-security
Bug #890434 reported by
Michael Terry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bison (Debian) |
Fix Released
|
Unknown
|
|||
bison (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As seen in a nip2 FTBFS [1], bison generated parsers can trigger "error: format not a string literal and no format arguments [-Werror=
Fix is to use '"%s", yymsg' instead. Fix coming.
Related branches
Changed in bison (Debian): | |
status: | Unknown → New |
Changed in bison (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
This bug was fixed in the package bison - 1:2.5.dfsg-2ubuntu1
--------------- dfsg-2ubuntu1) precise; urgency=low
bison (1:2.5.
* Grab latest bison from Debian unstable, which fixes a FTBFS in format- security patches/ use-format- literals. patch: format- security] " errors.
bison itself due to -Werror=
* debian/
- Fix generated code to not trigger "error: format not a string
literal and no format arguments [-Werror=
LP: #890434
bison (1:2.5.dfsg-2) unstable; urgency=low
* Rename liby-dev to libbison-dev to avoid name conflict with Y sound
server library header files (closes: #644200)
bison (1:2.5.dfsg-1) unstable; urgency=low
* New upstream release (closes: #631607, #643358)
* Update Standards-Version to 3.9.2.0
* Fixed all lintian warnings
* Convert package to 3.0 (quilt) format
* Move liby.a to the new liby-dev package for multiarch support. Thanks
to Riku Voipio <email address hidden> for patch (closes: #642081)
-- Michael Terry <email address hidden> Mon, 14 Nov 2011 16:47:52 -0500