amd64/189741: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Sun May 18 14:20:01 UTC 2014


The following reply was made to PR amd64/189741; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: amd64/189741: commit references a PR
Date: Sun, 18 May 2014 14:18:27 +0000 (UTC)

 Author: jhb
 Date: Sun May 18 14:18:23 2014
 New Revision: 266398
 URL: http://svnweb.freebsd.org/changeset/base/266398
 
 Log:
   MFC 260377:
   When pf_get_translation() fails, it should leave *sn pointer pristine,
   otherwise we will panic in pf_test_rule().
   
   PR:		amd64/189741
   Tested by:	Nick Rogers <ncrogers at gmail.com>
 
 Modified:
   stable/9/sys/contrib/pf/net/pf_lb.c
 Directory Properties:
   stable/9/sys/   (props changed)
   stable/9/sys/sys/   (props changed)
 
 Modified: stable/9/sys/contrib/pf/net/pf_lb.c
 ==============================================================================
 --- stable/9/sys/contrib/pf/net/pf_lb.c	Sun May 18 13:05:07 2014	(r266397)
 +++ stable/9/sys/contrib/pf/net/pf_lb.c	Sun May 18 14:18:23 2014	(r266398)
 @@ -788,6 +788,7 @@ pf_get_translation(struct pf_pdesc *pd, 
  			pool_put(&pf_state_key_pl, *skp);
  #endif
  			*skw = *sks = *nkp = *skp = NULL;
 +			*sn = NULL;
  			return (NULL);
  		}
  	}
 _______________________________________________
 svn-src-all at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-amd64 mailing list