]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/bit_vector: utilize deep-copy during data decode 15017/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 9 May 2017 15:31:52 +0000 (11:31 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 9 May 2017 15:31:52 +0000 (11:31 -0400)
commit58b6520707a79b512f89be52b8a7aa5c498bad3c
treed974071e76313722520dd1ed892fa5ec437352a4
parent7a4dfe89490dd2e0dba2900157ee00921f0e4105
common/bit_vector: utilize deep-copy during data decode

BlueStore utilizes an in-memory cache of bufferlists. If the bit vector
directly manipulates the shallow-copied bufferlist, it can corrupt
the CRC.

Fixes: http://tracker.ceph.com/issues/19863
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/bit_vector.hpp