Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632628 - sys-libs/db-4.8.30 build fix for -Werror-format=security
Summary: sys-libs/db-4.8.30 build fix for -Werror-format=security
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Keywords: PATCH
Depends on:
Blocks: format-security fortify-source
  Show dependency tree
Reported: 2017-10-01 12:48 UTC by René Rhéaume
Modified: 2021-05-03 22:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

db-4.8.30-format-security.patch (db-4.8.30-format-security.patch,1.02 KB, patch)
2017-10-01 12:48 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume 2017-10-01 12:48:51 UTC
Created attachment 497298 [details, diff]

db has a few error messages stored in temporary variables before being emitted. They are sent to a printf-like function without using "%s". The attached patch corrects this.