mirror of
https://github.com/ceph/ceph
synced 2025-03-20 01:07:42 +00:00
Merge pull request #20612 from fangyuxiangGL/com
rgw: download object might fail for local invariable uninitialized Reviewed-by: Adam Kupczyk <akupczyk@redhat.com> Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
375cba1d24
@ -79,7 +79,7 @@ int RGWGetObj_Decompress::handle_data(bufferlist& bl, off_t bl_ofs, off_t bl_len
|
||||
bufferlist out_bl, in_bl, temp_in_bl;
|
||||
bl.copy(bl_ofs, bl_len, temp_in_bl);
|
||||
bl_ofs = 0;
|
||||
int r;
|
||||
int r = 0;
|
||||
if (waiting.length() != 0) {
|
||||
in_bl.append(waiting);
|
||||
in_bl.append(temp_in_bl);
|
||||
|
Loading…
Reference in New Issue
Block a user