]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd.cc: add check to prevent null deref in rbd_list()
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 3 Sep 2014 20:59:30 +0000 (22:59 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 3 Sep 2014 20:59:30 +0000 (22:59 +0200)
commit7ccabbf91fd3b7609361d10d1430f7326579d1d1
treec5dfec7738897b76a0b7c8dd4781f2a4abb4a4b8
parentf53bf5320cb196b2573adc7c20a405d4a457427a
librbd.cc: add check to prevent null deref in rbd_list()

Fix for :

CID 1192467 (2 of 2): Explicit null dereferenced (FORWARD_NULL)
 var_deref_model: Passing null pointer ibuf to rbd_list,
 which dereferences it.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/librbd/librbd.cc