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); } } f3af'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/installer/steps.scm
AgeCommit message (Expand)Author
2022-11-02installer: Skip the backtrace page on user abort....When the user aborts the installation because a core dump is discovered or the installation command failed, displaying the abort backtrace doesn't make much sense. Hide it when the abort condition is &user-abort-error and skip directly to the dump page. * gnu/installer/steps.scm (&user-abort-error): New variable. (user-abort-error?): New procedure. * gnu/installer/newt/final.scm (run-install-failed-page): Raise a user-abort-error. * gnu/installer/newt/welcome.scm (run-welcome-page): Ditto. * gnu/installer.scm (installer-program): Hide the backtrace page and directly propose to dump the report when the a &user-abort-error is raised. Mathieu Othacehe