Date: Sat, 3 Jan 2015 01:52:07 +0000 (UTC) From: Dag-Erling Smørgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276602 - head/sbin/routed Message-ID: <201501030152.t031q7EN094140@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501030152.t031q7EN094140>