Actions
Bug #49173
closedC++ write API might not properly handle oversized bufferlist
Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
octopus,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
The C++ API takes an offset, length, and bufferlist. The semi-recent change to the ImageRequest state machine optimized away the need to track the length assuming it would always match the provided bufferlist length. This holds true for the C API but not necessarily the C++ API. This can result in an unexpectedly large write operation.
Updated by Jason Dillaman about 3 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 39303
Updated by Mykola Golub about 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot about 3 years ago
- Copied to Backport #49198: pacific: C++ write API might not properly handle oversized bufferlist added
Updated by Backport Bot about 3 years ago
- Copied to Backport #49199: octopus: C++ write API might not properly handle oversized bufferlist added
Updated by Loïc Dachary about 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions