]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r293715:
authorngie <ngie@FreeBSD.org>
Tue, 19 Jan 2016 01:30:22 +0000 (01:30 +0000)
committerngie <ngie@FreeBSD.org>
Tue, 19 Jan 2016 01:30:22 +0000 (01:30 +0000)
commit95e3008df9dacdefc14557f98920587b391f3b2b
treef444b2fb24439745d8d9f59f90944f702d4d9943
parentba5e3d1893b95370388c1a13b9179ab7a051b4fd
MFC r293715:

Fix a mismerge from NetBSD in r162194 with `xdr_rpcb_entry_list_ptr(..)`

This fixes the potential NULL pointer dereference properly, and also fixes
memory leaks encountered in the process of iterating through `*rp`.

Found by: Valgrind
Submitted by: Miles Ohlrich <miles.ohlrich@isilon.com>
lib/libc/rpc/rpcb_prot.c