]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds/MDS.cc: fix dereference null return value
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 22 May 2013 13:42:52 +0000 (15:42 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 22 May 2013 13:42:52 +0000 (15:42 +0200)
commitfa3149d21e104d72a60cbab0879ba4577e3faea0
tree52761a548135a22945815b1229abb23e5b6c3dbc
parent711810870e9a3b2191542356331801ef90e23a6e
mds/MDS.cc: fix dereference null return value

Fix for:

returned_null: Function "SessionMap::get_session(entity_name_t)" returns
  null (checked 12 out of 14 times)

CID 739601 (#1 of 1): Dereference null return value (NULL_RETURNS)
  dereference: Dereferencing a pointer that might be null
  "this->sessionmap.get_session(entity_name_t::CLIENT(client.v))" when
  calling "MDS::send_message_client_counted(Message *, Session *)"

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