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); } } b3d91b17c1d7c0'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests/virtualization.scm
AgeCommit message (Expand)Author
2020-10-01services: hurd-vm: Resurrect system-test by using raw disk-image....Using the new compressed-qcow2 image breaks this test. * gnu/tests/virtualization.scm (hurd-vm-disk-image-raw): New procedure. (%childhurd-os): Use it. Jan (janneke) Nieuwenhuizen
2020-09-29services: hurd-vm: Add system test....* gnu/tests/virtualization.scm (%childhurd-os): New variable. (run-childhurd-test): New procedure. (%test-childhurd): New variable. Ludovic Courtès