Date: Mon, 16 May 2016 08:13:30 +0000 (UTC) From: Don Lewis <truckman@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299922 - head/lib/libc/net Message-ID: <201605160813.u4G8DUB3094516@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: truckman Date: Mon May 16 08:13:30 2016 New Revision: 299922 URL: https://svnweb.freebsd.org/changeset/base/299922 Log: Don't call free_addrselectpolicy(&policyhead) before policyhead has been initialized. Reported by: Coverity CID: 1018727 Modified: head/lib/libc/net/name6.c Modified: head/lib/libc/net/name6.c ============================================================================== --- head/lib/libc/net/name6.c Mon May 16 08:07:32 2016 (r299921) +++ head/lib/libc/net/name6.c Mon May 16 08:13:30 2016 (r299922) @@ -655,7 +655,6 @@ _hpreorder(struct hostent *hp) #endif break; default: - free_addrselectpolicy(&policyhead); return hp; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605160813.u4G8DUB3094516>