]> code.ossystems Code Review - openembedded-core.git/commit
ltp: Add patch for string formatting security warning
authorDaniel Díaz <daniel.diaz@linaro.org>
Mon, 25 Feb 2019 22:02:52 +0000 (16:02 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Feb 2019 23:04:09 +0000 (23:04 +0000)
commitecee899dec53d324053112ed8764268fef930408
tree8134a5702a07b58d176270de4d93af3e99d8d49e
parent695d79af1edcc76a01055b01922f0d106c8291ca
ltp: Add patch for string formatting security warning

A revamp of the syscalls/setregid tests made to use a new
library [LTP:7a1b4427] required a conversion to test messages.
This test in particular did not include a formatted string,
but a just a string element:
  testcases/kernel/syscalls/setregid/setregid01.c

This patch allows LTP to be built with -Wformat,
-Wformat-security, and -Werror=format-security.

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ltp/ltp/setregid01-security-string-formatting.patch [new file with mode: 0644]
meta/recipes-extended/ltp/ltp_20190115.bb