mirror of
https://github.com/ceph/ceph
synced 2025-03-30 23:40:09 +00:00
Merge pull request #17880 from amitkumar50/cov-rgw-9
rgw: Error check on return of read_line()
This commit is contained in:
commit
637eead62f
@ -1419,6 +1419,9 @@ int RGWPostObj_ObjStore::read_form_part_header(struct post_form_part* const part
|
||||
}
|
||||
|
||||
r = read_line(bl, chunk_size, reached_boundary, done);
|
||||
if (r < 0) {
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user