]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind: Fix aio_read handling of string buffer
authorMohammad Salehe <salehe+dev@gmail.com>
Sun, 25 May 2014 06:12:11 +0000 (10:42 +0430)
committerLoic Dachary <loic-201408@dachary.org>
Sun, 21 Sep 2014 12:33:05 +0000 (14:33 +0200)
commit72a46dec211d5c08d1ca9f969013d939c4361ba9
treefc099a3795a09234f08126bd36a454d52943a0df
parent2675b0d159ff0608bc6e607be3727ed23e7e2976
pybind: Fix aio_read handling of string buffer

Read data may contain \0, and buf.value interprerts them as string terminator.

Signed-off-by: Mohammad Salehe <salehe+dev@gmail.com>
(cherry picked from commit 8bda44ff37fd04a0fc9498fbbc22f0daf515d721)
src/pybind/rados.py