svn commit: r300452 - stable/10/lib/libc/net

Don Lewis truckman at FreeBSD.org
Mon May 23 05:07:15 UTC 2016


Author: truckman
Date: Mon May 23 05:07:13 2016
New Revision: 300452
URL: https://svnweb.freebsd.org/changeset/base/300452

Log:
  MFC r299922
  
  Don't call free_addrselectpolicy(&policyhead) before policyhead has been
  initialized.
  
  Reported by:	Coverity
  CID:		1018727

Modified:
  stable/10/lib/libc/net/name6.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/net/name6.c
==============================================================================
--- stable/10/lib/libc/net/name6.c	Mon May 23 04:52:27 2016	(r300451)
+++ stable/10/lib/libc/net/name6.c	Mon May 23 05:07:13 2016	(r300452)
@@ -655,7 +655,6 @@ _hpreorder(struct hostent *hp)
 #endif
 		break;
 	default:
-		free_addrselectpolicy(&policyhead);
 		return hp;
 	}
 


More information about the svn-src-all mailing list