Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst Fix buffer size
details: https://anonhg.NetBSD.org/src/rev/dcfc1621cf20
branches: trunk
changeset: 842149:dcfc1621cf20
user: martin <martin%NetBSD.org@localhost>
date: Tue Jun 18 10:45:27 2019 +0000
description:
Fix buffer size
diffstat:
usr.sbin/sysinst/net.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 54d687d9cdaa -r dcfc1621cf20 usr.sbin/sysinst/net.c
--- a/usr.sbin/sysinst/net.c Tue Jun 18 10:06:49 2019 +0000
+++ b/usr.sbin/sysinst/net.c Tue Jun 18 10:45:27 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: net.c,v 1.27 2019/06/12 06:20:18 martin Exp $ */
+/* $NetBSD: net.c,v 1.28 2019/06/18 10:45:27 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -793,7 +793,7 @@
net_dev, net_ip, net_srv_ip);
strcpy(sl_flags, "-s 115200 -l /dev/tty00");
msg_prompt_win(MSG_slattach, -1, 12, 70, 0,
- sl_flags, sl_flags, 255);
+ sl_flags, sl_flags, sizeof sl_flags);
/* XXX: wtf isn't run_program() used here? */
pid = fork();
Home |
Main Index |
Thread Index |
Old Index