You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
451 B
13 lines
451 B
--- 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 <tille@debian.org> */
|
|
+ sprintf(tmpbuf, "wn: invalid search option: %.200s\n", av[j]);
|
|
display_message(tmpbuf);
|
|
errcount++;
|
|
}
|