]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: don't zero negative lengths
authorJosh Durgin <josh.durgin@dreamhost.com>
Fri, 23 Sep 2011 21:04:14 +0000 (14:04 -0700)
committerSage Weil <sage@newdream.net>
Wed, 28 Sep 2011 19:18:34 +0000 (12:18 -0700)
commit1e4fdf510c2d891ea0a46d7c194fbc3b37c981bd
tree6ef6675b0af34be73fefd2a2de22d9a977ef877d
parent2d8f52f0d0f1a0cb6f6b574917f31921cf6261bf
librbd: don't zero negative lengths

They are past the end of the buffer (and wrap around).

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
src/librbd.cc