Skip to contentSkip to conversation

cve-2015-3290: Add -fomit-frame-pointer

PATCH New Petr Vorel 1 participant 2 messages Feb 19, 2021

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

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

Which is not enabled by default on some toolchains.

Fixes #313

---
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(-)
testcases/cve/Makefile +1 -1
index da44fff60..63b1d7525 100644
@@ -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
Signature · 1 line
2.30.0
author
#1 lore raw

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

Hi,

...

testcases/cve/Makefile endif · line 48

Quoted 2 lines
testcases/cve/Makefile +1 -1
-cve-2015-3290:	CFLAGS += -pthread
+cve-2015-3290:	CFLAGS += -pthread -fomit-frame-pointer

Patch merged with slightly adjusted commit message.

Kind regards,
Petr