Bug 9545 - Resolve string formatting issues in kexec-tools
Summary: Resolve string formatting issues in kexec-tools
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.3 M4
Assignee: Jussi Kukkonen
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-04-28 10:43 UTC by Joshua Lock
Modified: 2017-03-20 07:49 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Lock 2016-04-28 10:43:35 UTC
kexec-tools fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security).
Comment 1 Joshua Lock 2017-02-07 13:23:19 UTC
Setting assignee to recipe maintainer. Alexander, please update estimate, target, etc. to suit your workload.

Note: to observe the failures comment out the recipe's SECURITY_STRINGFORMAT entry in security_cflags.inc build the recipe with a configuration that utilises security_cflags (i.e. the poky-lsb distro).
Comment 2 Alexander Kanavin 2017-02-07 13:24:20 UTC
Maybe before 2.3 is out. 100% busy with dnf now.
Comment 3 Joshua Lock 2017-02-07 13:25:34 UTC
Note: to observe the failures comment out the recipe's SECURITY_STRINGFORMAT entry in security_cflags.inc and build the recipe with a configuration that utilises security_cflags (i.e. the poky-lsb distro).
Comment 4 Jussi Kukkonen 2017-03-16 14:19:59 UTC
This is practically completely fixed upstream, I can fix this as well.
Comment 5 Jussi Kukkonen 2017-03-20 07:49:22 UTC
commit f8007417ea1e2d2ec2c6c88e49376f6344f3fda0
Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date:   Thu Mar 16 16:30:24 2017 +0200

    kexec-tools: Add patches to enable format-security
    
    Also remove the override from security_flags.inc
    
    (From OE-Core rev: 33d084a66a371fb10e26a0a23c639c69ddd3f1e5)