Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1245459?usp=email )
Change subject: Fix Coverity leak in ceph_register_nfs_service(Coverity: 651219)
......................................................................
Fix Coverity leak in ceph_register_nfs_service(Coverity: 651219)
Coverity CID 651219 flags a leak of the dlopen handle in
ceph_register_nfs_service() when dlsym() fails.
dlclose() the handle on that failure path. On success the mapping is
left open: register_service_to_ceph() starts a heartbeat thread whose
code and state live in libganesha_rados_urls.so.
Change-Id: I58053dc283e83cc30f5707fc62a9f9d31de8452f
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/FSAL/FSAL_CEPH/main.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/59/1245459/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1245459?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I58053dc283e83cc30f5707fc62a9f9d31de8452f
Gerrit-Change-Number: 1245459
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>