]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: prevent creation of v2 image ids that are too large 10581/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 5 Aug 2016 00:40:10 +0000 (20:40 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 5 Aug 2016 00:56:36 +0000 (20:56 -0400)
commit4de7c8d0a7222c83268d03b99015c6b9d25f124d
treee994252001583c995604cc7db862e54895a3d956
parent6fed82a086f903042e431a8b06162e8ea7ea4874
librbd: prevent creation of v2 image ids that are too large

The librbd API is capped at 24 characters for expressing the
object prefix for data blocks (including trailing null byte).

Fixes: http://tracker.ceph.com/issues/16887
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc