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++; } o-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/git.scm
AgeCommit message (Expand)Author
2022-02-14git: Add 'commit-descendant?'....Ludovic Courtès
2021-09-18import: Add 'generic-git' updater....Xinglu Chen
2020-06-09git: 'commit-difference' really excludes the ancestors of #:excluded....Ludovic Courtès
2020-05-25git: Add 'commit-relation'....Ludovic Courtès
2019-12-27git: 'commit-difference' takes a list of excluded commits....Ludovic Courtès
2019-09-23git: Add 'commit-difference'....Ludovic Courtès