ceph/ceph — pull request #2048 by liewegas (2014-06-30 19:57:44+00:00)
Title: rgw: fix uninit ofs in RGWObjManifect::obj_iterator

Valgrind picked this up:

UninitCondition
Conditional jump or move depends on uninitialised value(s)

0x5145B8
/usr/bin/radosgw
RGWObjManifest::obj_iterator::seek(unsigned long)

/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.82-354-g62027ec/src/rgw
rgw_rados.cc
562

0x5672A4
/usr/bin/radosgw
list_multipart_parts(RGWRados*, req_state*, std::string const&,
std::string&, int, int, std::map<unsigned int, RGWUploadPartInfo,
std::less<unsigned int>, std::allocator<std::pair<unsigned int
const, RGWUploadPartInfo> > >&, int*, bool*, bool)

/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.82-354-g62027ec/src/rgw
rgw_rados.h
217

0x5688EE
/usr/bin/radosgw
RGWListMultipart::execute()

/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.82-354-g62027ec/src/rgw
rgw_op.cc
2956

...

Fixes: #8699 Backport: firefly Signed-off-by: Sage Weil