From owner-cvs-all@FreeBSD.ORG Mon Sep 11 19:56:41 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C015616A54F; Mon, 11 Sep 2006 19:56:41 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF43343D5E; Mon, 11 Sep 2006 19:56:10 +0000 (GMT) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8BJuANB090160; Mon, 11 Sep 2006 19:56:10 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8BJuAKP090159; Mon, 11 Sep 2006 19:56:10 GMT (envelope-from andre) Message-Id: <200609111956.k8BJuAKP090159@repoman.freebsd.org> From: Andre Oppermann Date: Mon, 11 Sep 2006 19:56:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet ip_output.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 19:56:41 -0000 andre 2006-09-11 19:56:10 UTC FreeBSD src repository Modified files: sys/netinet ip_output.c Log: Fix a NULL pointer dereference of ro->ro_rt->rt_flags by checking for the validity of ro->ro_rt first. This prevents crashing on any non-normally routed IP packet. Coverity CID: 162 (incorrectly, it was re-introduced by previous commit) Revision Changes Path 1.263 +1 -1 src/sys/netinet/ip_output.c