[LTP] [PATCH 1/1] cve-2015-3290: Add -fomit-frame-pointer

Petr Vorel pvorel@suse.cz
Fri Feb 19 08:59:06 CET 2021


Which is not enabled by default on some toolchains.

Fixes: #313

Reported-by: Patrick McCarty <patrick.mccarty@intel.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Tested manually, but sure going through CI as well
https://travis-ci.org/github/pevik/ltp/builds/759603151

 testcases/cve/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/cve/Makefile b/testcases/cve/Makefile
index da44fff60..63b1d7525 100644
--- a/testcases/cve/Makefile
+++ b/testcases/cve/Makefile
@@ -45,6 +45,6 @@ endif
 cve-2017-17052:	CFLAGS += -pthread
 cve-2017-17053:	CFLAGS += -pthread
 
-cve-2015-3290:	CFLAGS += -pthread
+cve-2015-3290:	CFLAGS += -pthread -fomit-frame-pointer
 
 include $(top_srcdir)/include/mk/generic_leaf_target.mk
-- 
2.30.0



More information about the ltp mailing list