]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: fix buffer overflow for aio_exec python binding 22707/head
authorAleksei Gutikov <aleksey.gutikov@synesis.ru>
Thu, 3 May 2018 16:20:40 +0000 (19:20 +0300)
committerPrashant D <pdhange@redhat.com>
Tue, 26 Jun 2018 03:35:23 +0000 (23:35 -0400)
commit646b31075f5447b02a1e8985d231ef697c8aa7ba
tree52ad1a519306437d00fed955b56b11f37b6f310a
parent7cda9121a9348ea7a37c78ca14b3c5bdfdaca041
librados: fix buffer overflow for aio_exec python binding

aio_exec returns ERANGE if provided buffer is not enough.

Fixes: https://tracker.ceph.com/issues/23964
Signed-off-by: Aleksei Gutikov <aleksey.gutikov@synesis.ru>
(cherry picked from commit 2ac2592e1d5548b40f7311840360968040614208)
src/librados/IoCtxImpl.cc