Skip to contentSkip to conversation

Add test for CVE-2017-2671

RFC New Richard Palethorpe 1 participant 1 message Apr 27, 2017

lore
Share & tools
lore
#0 lore raw

RFC 2/2 Add test for CVE-2017-2671

---

This needs the CVE patch set, which I will incorporate this into. However I am posting it now just in case someone is interested.

 runtest/cve                   |   1 +
 testcases/cve/.gitignore      |   1 +
 testcases/cve/Makefile        |   1 +
 testcases/cve/cve-2017-2671.c | 127 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 130 insertions(+)
 create mode 100644 testcases/cve/cve-2017-2671.c
runtest/cve +1 -0
index 359958ca9..5958d6c39 100644
@@ -4,6 +4,7 @@ cve-2014-0196 cve-2014-0196
 cve-2016-4997 cve-2016-4997
 cve-2016-5195 dirtyc0w
 cve-2016-7117 cve-2016-7117
+cve-2017-2671 cve-2017-2671
 cve-2017-5669 cve-2017-5669
 cve-2017-6951 cve-2017-6951
 cve-2017-7277 cve-2017-7277
testcases/cve/.gitignore +1 -0
index 516ea62a5..376964266 100644
@@ -2,6 +2,7 @@ cve-2012-0957
 cve-2014-0196
 cve-2016-4997
 cve-2016-7117
+cve-2017-2671
 cve-2017-5669
 cve-2017-6951
 cve-2017-7277
testcases/cve/Makefile +1 -0
index d642b73b4..ff8fcf1d6 100644
@@ -21,5 +21,6 @@ CFLAGS			+= -D_GNU_SOURCE
 
 cve-2014-0196:	LDFLAGS += -lpthread -lutil -lrt
 cve-2016-7117:	LDFLAGS += -lpthread -lrt
+cve-2017-2671:	LDFLAGS += -lpthread
 
 include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/cve/cve-2017-2671.c new file +127 -0

127 lines not on this page · raw message

Signature · 1 line
2.12.2