Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/dhcpcd/dist/src prevent coredump when state == ...
details: https://anonhg.NetBSD.org/src/rev/73db39fc64b3
branches: trunk
changeset: 1006762:73db39fc64b3
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 26 22:57:52 2020 +0000
description:
prevent coredump when state == NULL
diffstat:
external/bsd/dhcpcd/dist/src/script.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 226ca42f2581 -r 73db39fc64b3 external/bsd/dhcpcd/dist/src/script.c
--- a/external/bsd/dhcpcd/dist/src/script.c Sun Jan 26 22:34:17 2020 +0000
+++ b/external/bsd/dhcpcd/dist/src/script.c Sun Jan 26 22:57:52 2020 +0000
@@ -453,7 +453,7 @@
dumplease:
#ifdef INET
#ifdef IPV4LL
- if (protocol == PROTO_IPV4LL) {
+ if (protocol == PROTO_IPV4LL && istate) {
if (ipv4ll_env(fp, istate->down ? "old" : "new", ifp) == -1)
goto eexit;
}
Home |
Main Index |
Thread Index |
Old Index