Fix CVE-2008-2149: buffer overflows by limiting the length of the string in sprintf format string Closes: #481186 (CVE-2008-2149) Please note: The WordNet code contains several other occurences of potentially exploitable functions like strcpy()/strcat()/... and so even if there are no known exploits the code needs a full security audit. --- a/src/wn.c +++ b/src/wn.c @@ -206,7 +206,8 @@ static int searchwn(int ac, char *av[]) 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++; } /option> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/.mailmap
AgeCommit message (Expand)Author
2022-01-11Update mailmap....Leo Famulari
2021-11-06Update mailmap and copyright assignments for Liliana Marie Prikler....Liliana Marie Prikler
2021-09-06Update mailmap....Liliana Marie Prikler
2021-09-04Update mailmap....Marius Bakke
2021-07-27Update mailmap....Leo Famulari
2021-07-08mailmap: Update entries for Matthew James Kraai....Matthew James Kraai
2021-06-23gnu: Add Sollya....Eric Bavier
2021-04-21Update email address for Kei....Kei Kebreau