]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r299897
authortruckman <truckman@FreeBSD.org>
Mon, 23 May 2016 04:52:27 +0000 (04:52 +0000)
committertruckman <truckman@FreeBSD.org>
Mon, 23 May 2016 04:52:27 +0000 (04:52 +0000)
commit8c6956f245810cd96b774d9edd14887f7692ef24
tree9a8b25793a801d5707c59cc6a01abcc71b6a1dd0
parent651189b30d19f79b2ebeb2f4170f921b79a2ae76
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
usr.sbin/rpc.lockd/lockd_lock.c