https://sources.debian.org/data/main/a/a2ps/1:4.14-2/debian/patches/fix-format-security.diff Index: b/lib/psgen.c =================================================================== --- a/lib/psgen.c +++ b/lib/psgen.c @@ -232,7 +232,7 @@ default: *buf = '\0'; ps_escape_char (job, cp[i], buf); - output (jdiv, (char *) buf); + output (jdiv, "%s", (char *) buf); break; } } Index: b/lib/output.c =================================================================== --- a/lib/output.c +++ b/lib/output.c @@ -525,7 +525,7 @@ expand_user_string (job, FIRST_FILE (job), (const uchar *) "Expand: requirement", (const uchar *) token)); - output (dest, expansion); + output (dest, "%s", expansion); continue; } Index: b/lib/parseppd.y =================================================================== --- a/lib/parseppd.y +++ b/lib/parseppd.y @@ -154,7 +154,7 @@ void yyerror (const char *msg) { - error_at_line (1, 0, ppdfilename, ppdlineno, msg); + error_at_line (1, 0, ppdfilename, ppdlineno, "%s", msg); } /* Index: b/src/parsessh.y =================================================================== --- a/src/parsessh.y +++ b/src/parsessh.y @@ -740,7 +740,7 @@ void yyerror (const char *msg) { - error_at_line (1, 0, sshfilename, sshlineno, msg); + error_at_line (1, 0, sshfilename, sshlineno, "%s", msg); } /* Index: b/lib/parseppd.c =================================================================== --- a/lib/parseppd.c +++ b/lib/parseppd.c @@ -1707,7 +1707,7 @@ void yyerror (const char *msg) { - error_at_line (1, 0, ppdfilename, ppdlineno, msg); + error_at_line (1, 0, ppdfilename, ppdlineno, "%s", msg); } /* Index: b/src/parsessh.c =================================================================== --- a/src/parsessh.c +++ b/src/parsessh.c @@ -2639,7 +2639,7 @@ void yyerror (const char *msg) { - error_at_line (1, 0, sshfilename, sshlineno, msg); + error_at_line (1, 0, sshfilename, sshlineno, "%s", msg); } /* ' size='10' name='q' value=''/>
path: root/gnu/installer/user.scm
AgeCommit message (Collapse)Author
2019-04-28installer: User can have a "real name".Ludovic Courtès
* gnu/installer/user.scm (<user>)[real-name]: New field. (users->configuration)[use->sexp]: Turn it into a 'comment' field.
2019-04-25installer: Ask for the root account password.Ludovic Courtès
Fixes <https://bugs.gnu.org/35399>. * gnu/installer/newt/user.scm (run-root-password-page): New procedure. * gnu/installer/user.scm (users->configuration): Filter out the "root" account. * gnu/installer/final.scm (create-user-database): Set 'uid' field in 'user-account' form.
2019-04-25installer: Ask for user password and initialize /etc/shadow.Ludovic Courtès
Partly fixes <https://bugs.gnu.org/35399>. * gnu/installer/user.scm (<user>)[password]: New field. * gnu/installer/final.scm (%seed): New variable. (integer->alphanumeric-char, random-string) (create-user-database): New procedures. (install-system): Call 'create-user-database'. * gnu/installer/newt/final.scm (run-install-shell): Add #:users and pass it to 'install-system'. (run-final-page): Pass #:users to 'run-install-shell'. * gnu/installer/newt/user.scm (run-user-add-page): Add password entry. Pass its result as the 'password' field of <user>.
2019-01-17installer: Add user module.Mathieu Othacehe
* gnu/installer/user.scm: New file.