]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r299897
authortruckman <truckman@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 23 May 2016 04:52:27 +0000 (04:52 +0000)
committertruckman <truckman@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 23 May 2016 04:52:27 +0000 (04:52 +0000)
commita950cc9c055816ffbc729556268f1783b532588c
tree9a8b25793a801d5707c59cc6a01abcc71b6a1dd0
parented5a4f2092c5ce22546647ec0beaf84c39f2ef38
MFC r299897

NULL releasedfl after calling deallocate_file_lock() which frees it
to avoid a use-after-free error in the debuglog() call at the top
of the loop.

Reported by: Coverity
CID: 1006080

git-svn-id: svn://svn.freebsd.org/base/stable/10@300451 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/rpc.lockd/lockd_lock.c