Date: Wed, 22 Jan 2014 15:58:44 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261029 - head/sys/netpfil/pf Message-ID: <201401221558.s0MFwijA008232@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Wed Jan 22 15:58:43 2014 New Revision: 261029 URL: http://svnweb.freebsd.org/changeset/base/261029 Log: Remove NULL pointer dereference. CID: 1009118 Modified: head/sys/netpfil/pf/pf.c Modified: head/sys/netpfil/pf/pf.c ============================================================================== --- head/sys/netpfil/pf/pf.c Wed Jan 22 15:44:38 2014 (r261028) +++ head/sys/netpfil/pf/pf.c Wed Jan 22 15:58:43 2014 (r261029) @@ -5493,7 +5493,6 @@ pf_route(struct mbuf **m, struct pf_rule PF_STATE_UNLOCK(s); rt = rtalloc1_fib(sintosa(&dst), 0, 0, M_GETFIB(m0)); if (rt == NULL) { - RTFREE_LOCKED(rt); KMOD_IPSTAT_INC(ips_noroute); error = EHOSTUNREACH; goto bad;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401221558.s0MFwijA008232>