svn commit: r276602 - head/sbin/routed
Dag-Erling Smørgrav
des at FreeBSD.org
Sat Jan 3 01:52:07 UTC 2015
Author: des
Date: Sat Jan 3 01:52:06 2015
New Revision: 276602
URL: https://svnweb.freebsd.org/changeset/base/276602
Log:
Belatedly commit the patch for SA-14:21 to head. It was not committed to
head at the time because it's a band-aid, rather than a complete fix, but
the complete fix never materialized.
Modified:
head/sbin/routed/input.c
Modified: head/sbin/routed/input.c
==============================================================================
--- head/sbin/routed/input.c Sat Jan 3 01:41:10 2015 (r276601)
+++ head/sbin/routed/input.c Sat Jan 3 01:52:06 2015 (r276602)
@@ -288,6 +288,10 @@ input(struct sockaddr_in *from, /* rece
/* Answer a query from a utility program
* with all we know.
*/
+ if (aifp == NULL) {
+ trace_pkt("ignore remote query");
+ return;
+ }
if (from->sin_port != htons(RIP_PORT)) {
/*
* insecure: query from non-router node
More information about the svn-src-head
mailing list