]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
c_read_operations.cc: prevent potential null pointer deref
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 13 Nov 2014 16:29:12 +0000 (17:29 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 13 Nov 2014 22:39:10 +0000 (23:39 +0100)
commit9314fe2808e7bd496cf9b2ebc24570e3cfed92e1
treeed71b5afb758cbb848a27b31c29490f8f4a4b04b
parent10fc8a24fcba822656b5679dd34b149c817d3101
c_read_operations.cc: prevent potential null pointer deref

CID 1251575 (#1 of 1): Dereference after null check (FORWARD_NULL)
 var_deref_model: Passing null pointer key to basic_string, which
 dereferences it.

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