]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Examples: hello_world.cc, content displayed after read is not null terminated. 5912/head
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 14 Sep 2015 06:00:43 +0000 (16:00 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 15 Sep 2015 08:58:44 +0000 (18:58 +1000)
commit26bcb362f46daaef6f564e6d10c0f2439098ed91
tree3a9fa55649fc93f8774ee3ee48a20e2ea2996dfe
parent27d1e4d41e0a345dce96ecab620fefb1c900acca
Examples: hello_world.cc, content displayed after read is not null terminated.

Copy contents of bufferlist to a string before sending to stdout since a
bufferlist is not null terminated.

Fixes: #7822
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
examples/librados/hello_world.cc