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.
Actions