Project

General

Profile

Bug #4123

Updated by Loïc Dachary about 11 years ago

h3. Overflow 

 When "buffer::list::zero":https://github.com/ceph/ceph/blob/0327cbaa2ab48b8da8aad181f55ce4e48fe3946c/src/common/buffer.cc#L731 is called on a buffer::list with a single "ABC" in one buffer::ptr with *buffer::list::zero(0, 1)* it zero all buffer::ptr. The expected result is that the "ABC" buffer::ptr is modified to "\0BC" 

 h3. Returns before completion 

 When "buffer::list::zero":https://github.com/ceph/ceph/blob/0327cbaa2ab48b8da8aad181f55ce4e48fe3946c/src/common/buffer.cc#L731 is called on a buffer::list with "ABC" and "DEF" in two different buffer::ptr with *buffer::list::zero(4, 1)* it will do nothing. The expected result is that the "DEF" buffer::ptr is modified to "D\0F" 

Back