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); } } eb3771287d'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/keys/signing-key.pub
AgeCommit message (Expand)Author
2021-12-22tests: Move keys into ./tests/keys/ and add a third ed25519 key....The third key will be used in an upcoming commit. Rename public keys to .pub. * guix/tests/gnupg.scm (%ed25519-3-public-key-file): New variable. (%ed25519-3-secret-key-file): New variable. (%ed25519-2-public-key-file): Renamed from %ed25519bis-public-key-file. (%ed25519-2-secret-key-file): Renamed from %ed25519bis-secret-key-file. * tests/keys/ed25519-3.key: New file. * tests/keys/ed25519-3.sec: New file. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Attila Lendvai