This patch was created by oCert according to http://www.ocert.org/advisories/ocert-2008-014.html Unfortunately the original patch contained a bug which was later fixed by the issuer of the patch Rob Holland This part was now separated in this file. --- a/lib/search.c +++ b/lib/search.c @@ -1568,7 +1568,8 @@ char *findtheinfo(char *searchstr, int d bufstart[0] = '\n'; bufstart++; } - strncpy(bufstart, tmpbuf, strlen(tmpbuf)); + /* Avoid writing a trailing \0 after the string */ + memcpy(bufstart, tmpbuf, strlen(tmpbuf)); bufstart = searchbuffer + strlen(searchbuffer); } } onchange='this.form.submit();'> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/nix/libutil
AgeCommit message (Expand)Author
2016-05-31daemon: Remove unused XML output code....Ludovic Courtès
2015-12-02daemon: Fix namespace issue.Eelco Dolstra
2015-12-02daemon: Support SHA-512 hashes....Eelco Dolstra
2015-12-02daemon: int2String -> std::to_string.Eelco Dolstra
2015-07-03Merge branch 'nix'....Ludovic Courtès
2015-06-03Merge branch 'nix'....Ludovic Courtès
2015-05-19Merge branch 'nix'....Ludovic Courtès
2015-05-19Revert "daemon: Fix possible use-after-free."...Ludovic Courtès
2015-05-11daemon: Fix possible use-after-free....Ludovic Courtès
2015-01-04Merge commit a1dd396cc02922372314c35c8035a38bfeea08df of branch 'nix'.Ludovic Courtès
2014-12-19Merge branch 'nix' into 'master'.Ludovic Courtès
2013-12-19daemon: Fix 'HashSink::currentHash()'....Ludovic Courtès
2013-09-12daemon: Use 'int' instead of the internal 'gcry_md_algo_t' type....Ludovic Courtès
2013-01-06Update license headers....Ludovic Courtès
2012-12-04daemon: Fix typo in libgcrypt bindings....Ludovic Courtès
2012-12-03build: Include a copy of Nix's libstore and daemon; build it....Ludovic Courtès