]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd_types: typo in object_info_t::decode for struct_v==6
authorSamuel Just <sam.just@inktank.com>
Tue, 25 Sep 2012 21:07:45 +0000 (14:07 -0700)
committerSamuel Just <sam.just@inktank.com>
Tue, 25 Sep 2012 21:09:32 +0000 (14:09 -0700)
commit3e4f3794cbc085ffad7e0658cfad095e213a5a01
treeaf0a3bc163162992d2f4cff2a88cc7303853c220
parent4f621a1a1f1b6c9f3534cc6a9790a36d46cec212
osd_types: typo in object_info_t::decode for struct_v==6

hoid.hash is uninitialized, and should not be used to
initialize hoid.hash.

CID 717200: Uninitialized scalar variable (UNINIT)At (9): Using uninitialized
value "hoid.hash" when calling "hobject_t::hobject_t(object_t, std::string
const &, snapid_t, uint64_t, int64_t)".

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/osd_types.cc