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++; } lue='koszko-scripts'>koszko-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/chemistry.scm
AgeCommit message (Expand)Author
2021-06-14gnu: Rename qtbase to qtbase-5....This change was automated via the following command: $ git ls-files | xargs sed -i 's/,qtbase)/,qtbase-5)/g' $ git ls-files | xargs sed -i 's/inherit qtbase)/inherit qtbase-5)/g' $ git ls-files | xargs sed -i 's/package-version qtbase)/package-version qtbase-5)/g' $ git checkout etc # to clear some spurious changes This is done so the qtbase package can be upgraded to version 6 in the following commit. Maxim Cournoyer
2021-02-01gnu: openbabel: Update to 3.1.1....* gnu/packages/chemistry.scm (openbabel): Update to 3.1.1. [source]: Update URI. [arguments]: Temporarily skip tests on i686-linux. Kei Kebreau
2021-02-01gnu: inchi: Update to 1.06....* gnu/packages/chemistry.scm (inchi): Update to 1.06. [source]: Use HTTPS. [native-inputs]: Update inchi-doc hash. Kei Kebreau
2021-01-29gnu: Remove avogadro....This package fails to build and has been superseded by avogadro2. * gnu/packages/chemistry.scm (avogadro): Remove variable. * gnu/packages/patches/avogadro-boost148.patch, gnu/packages/patches/avogadro-eigen3-update.patch, gnu/packages/patches/avogadro-python-eigen-lib.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Remove them. Leo Famulari
2021-01-25gnu: Add avogadro2....* gnu/packages/chemistry.scm (avogadro2): New variable. Kei Kebreau
2021-01-25gnu: Add avogadrolibs....* gnu/packages/chemistry.scm (avogadrolibs): New variable. Kei Kebreau
2021-01-25gnu: Add libmsym....* gnu/packages/chemistry.scm (libmsym): New variable. Kei Kebreau
2021-01-25gnu: Add molequeue....* gnu/packages/chemistry.scm (molequeue): New variable. Kei Kebreau
2021-01-25gnu: Add mmtf-cpp....* gnu/packages/chemistry.scm (mmtf-cpp): New variable. Kei Kebreau
2021-01-25gnu: Add spglib....* gnu/packages/chemistry.scm (spglib): New variable. Kei Kebreau