diff options
author | des <des@FreeBSD.org> | 2015-01-03 01:52:06 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2015-01-03 01:52:06 +0000 |
commit | d34b4ecb1a94850073786f29bb1b2f984004bdeb (patch) | |
tree | 6d2140881e630d44d41f269eea33ebd8b09e7ae7 /sbin | |
parent | 771035aa6c3aa7f4ac234c0ef335a796274db485 (diff) | |
download | FreeBSD-src-d34b4ecb1a94850073786f29bb1b2f984004bdeb.zip FreeBSD-src-d34b4ecb1a94850073786f29bb1b2f984004bdeb.tar.gz |
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.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/routed/input.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/routed/input.c b/sbin/routed/input.c index 901c4f3..895ef50 100644 --- a/sbin/routed/input.c +++ b/sbin/routed/input.c @@ -288,6 +288,10 @@ input(struct sockaddr_in *from, /* received from this IP address */ /* 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 |