]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
MDCache: fix potential null pointer deref
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 1 Mar 2014 12:11:48 +0000 (13:11 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 1 Mar 2014 12:11:48 +0000 (13:11 +0100)
commit1747c589e7731dea1068d1d020dc2774eb92ae46
tree1a211d32dbf19254f1dfa7532508d12757e3b9b2
parent93c09836fe7aeebc8cee0dff47ccd94f3a2c42e8
MDCache: fix potential null pointer deref

CID 716921 (#1 of 1): Dereference after null check (FORWARD_NULL)
 var_deref_model: Passing null pointer "dir" to function
 "operator <<(std::ostream &, CDir &)", which dereferences it.

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