Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/lib/libutil Pull up revision 1.25 (requested by sommerf...
details: https://anonhg.NetBSD.org/src/rev/7e8a6b344146
branches: netbsd-1-4
changeset: 470931:7e8a6b344146
user: he <he%NetBSD.org@localhost>
date: Wed Oct 04 14:11:02 2000 +0000
description:
Pull up revision 1.25 (requested by sommerfeld):
Close possible format-string hole.
diffstat:
lib/libutil/passwd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 68e17f494955 -r 7e8a6b344146 lib/libutil/passwd.c
--- a/lib/libutil/passwd.c Wed Oct 04 14:08:34 2000 +0000
+++ b/lib/libutil/passwd.c Wed Oct 04 14:11:02 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: passwd.c,v 1.15.2.1 1999/12/04 20:00:55 he Exp $ */
+/* $NetBSD: passwd.c,v 1.15.2.2 2000/10/04 14:11:02 he Exp $ */
/*
* Copyright (c) 1987, 1993, 1994, 1995
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: passwd.c,v 1.15.2.1 1999/12/04 20:00:55 he Exp $");
+__RCSID("$NetBSD: passwd.c,v 1.15.2.2 2000/10/04 14:11:02 he Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -319,7 +319,7 @@
int err, eval;
{
if (err)
- warn(name);
+ warn("%s", name);
warnx("%s: unchanged", _PATH_MASTERPASSWD);
pw_abort();
Home |
Main Index |
Thread Index |
Old Index