]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r300636
authortruckman <truckman@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 1 Jun 2016 17:20:36 +0000 (17:20 +0000)
committertruckman <truckman@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 1 Jun 2016 17:20:36 +0000 (17:20 +0000)
commit5d95a6fea4681b71854d79637742a844db2a5237
tree2d7cc7f61f4660aea84a58a6b7fe644d1b5e78ba
parentc5a07034aef0ca57143980b7208829cf79b2d230
MFC r300636

Delay calling yp_malloc_dnsent() until after some additional sanity
checks to avoid leaking memory on error returns.

Reported by: Coverity
CID: 1007416

git-svn-id: svn://svn.freebsd.org/base/stable/10@301144 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/ypserv/yp_dnslookup.c