]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r294300:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Jan 2016 01:33:27 +0000 (01:33 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Jan 2016 01:33:27 +0000 (01:33 +0000)
commit430f02cca09cfdd3dfb955e3766dddc183195ccb
tree4d6ab1fa25d61cb8551202162b8ef6caf47520bf
parentae1354aa8c7afed9527dd0d60bf230b386881335
MFstable/10 r294300:

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>

git-svn-id: svn://svn.freebsd.org/base/stable/9@294301 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/rpc/rpcb_prot.c