Module Name: src
Committed By: snj
Date: Thu Apr 23 02:06:15 UTC 2009
Modified Files:
src/usr.sbin/rtsold [netbsd-3]: if.c
Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #2008):
usr.sbin/rtsold/if.c: revision 1.14
catch another possible error case and exit early; CID 990
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.6.1 src/usr.sbin/rtsold/if.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/rtsold/if.c
diff -u src/usr.sbin/rtsold/if.c:1.13 src/usr.sbin/rtsold/if.c:1.13.6.1
--- src/usr.sbin/rtsold/if.c:1.13 Sat Jan 3 01:40:31 2004
+++ src/usr.sbin/rtsold/if.c Thu Apr 23 02:06:15 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.13 2004/01/03 01:40:31 itojun Exp $ */
+/* $NetBSD: if.c,v 1.13.6.1 2009/04/23 02:06:15 snj Exp $ */
/* $KAME: if.c,v 1.18 2002/05/31 10:10:03 itojun Exp $ */
/*
@@ -269,7 +269,7 @@
}
}
}
- if (next == lim) {
+ if (next == lim || sdl == NULL) {
/* search failed */
free(buf);
return(NULL);