Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 632628

Summary: sys-libs/db-4.8.30 build fix for -Werror-format=security
Product: Gentoo Linux Reporter: René Rhéaume <rene.rheaume>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713576, 259417    
Attachments: db-4.8.30-format-security.patch

Description René Rhéaume 2017-10-01 12:48:51 UTC
Created attachment 497298 [details, diff]
db-4.8.30-format-security.patch

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.