ceph/src/osdc
Sage Weil 0b3c5dc58c objecter: fix dereference after null check
CID 716933: Dereference after null check (FORWARD_NULL)
At (4): Passing null pointer "extra_ops->ops" to function "std::vector<OSDOp, std::allocator<OSDOp> >::operator [](std::vector<OSDOp, std::allocator<OSDOp> >::size_type)", which dereferences it. [hide details]

All callers pass 1, but this was also hard-coded into the helper logic.
Fix code (and doxygen desc) to allow other values.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-09-28 13:18:06 -07:00
..
Blinker.h
Filer.cc filer: fix overflow 2012-09-28 13:18:06 -07:00
Filer.h
Journaler.cc
Journaler.h journaler: uninit var in ctor 2012-09-28 13:18:06 -07:00
ObjectCacher.cc objectcacher: avoid confusing coverity 2012-09-28 13:18:06 -07:00
ObjectCacher.h objectcacher: fix uninit var in ctor 2012-09-28 13:18:06 -07:00
Objecter.cc objecter: remove the now-unused "registering" flag on LingerOps 2012-09-07 21:03:39 -07:00
Objecter.h objecter: fix dereference after null check 2012-09-28 13:18:06 -07:00
WritebackHandler.h