From 6dc53110f30d6b433f12d60f9e1f3047503c1edf Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 13 Sep 2023 11:03:38 +0000 Subject: automatic import of wordnet --- wordnet-3.0-CVE-2008-2149.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 wordnet-3.0-CVE-2008-2149.patch (limited to 'wordnet-3.0-CVE-2008-2149.patch') diff --git a/wordnet-3.0-CVE-2008-2149.patch b/wordnet-3.0-CVE-2008-2149.patch new file mode 100644 index 0000000..42660c1 --- /dev/null +++ b/wordnet-3.0-CVE-2008-2149.patch @@ -0,0 +1,12 @@ +--- wordnet-3.0.orig/src/wn.c ++++ wordnet-3.0/src/wn.c +@@ -206,7 +206,8 @@ + outsenses += do_search(av[1], optptr->pos, optptr->search, + whichsense, optptr->label); + } else { +- sprintf(tmpbuf, "wn: invalid search option: %s\n", av[j]); ++ /* Fix CVE-2008-2149: buffer overflows Andreas Tille */ ++ sprintf(tmpbuf, "wn: invalid search option: %.200s\n", av[j]); + display_message(tmpbuf); + errcount++; + } -- cgit v1.2.3