]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_volume_client: decode d_name before using it 28609/head
authorRishabh Dave <ridave@redhat.com>
Sun, 19 May 2019 10:17:25 +0000 (12:17 +0200)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 17 Jun 2019 20:03:21 +0000 (13:03 -0700)
commit0a936c4c535383ee71a01a58bb6ecab0095984c9
tree004fd802cd7983b3953f9ae176a322ed90ec3d58
parentca240efcd7e1b9521ea2304d24788733eabfe364
ceph_volume_client: decode d_name before using it

d_name is received as byte array but the code intends to use it as
a string. Therefore, convert it before using.

Fixes: http://tracker.ceph.com/issues/39406
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 543f3d86cce472af5c01f468e3859d7547376fcf)
src/pybind/ceph_volume_client.py