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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to