BUG: Invoking SetData method with wrong parameter types - #6717
Conversation
The signature is void SetData(TValue * datain, SizeValueType sz, bool LetArrayManageMemory)
|
| Filename | Overview |
|---|---|
| Modules/Core/Common/test/itkArrayGTest.cxx | Both corrected calls now match the intended SetData(buffer, size, manageMemory) contract without changing production code. |
Reviews (1): Last reviewed commit: "BUG: Invoking SetData method with wrong ..." | Re-trigger Greptile
|
Confirmed correct, and worth landing as-is. The Follow-up analysis and recommended paths recorded in #6718 — the API hazard that produced these two lines is still present, and |
The signature is
void SetData(TValue * datain, SizeValueType sz, bool LetArrayManageMemory)This, by itself, is not a big problem. However, it might be a symptom of a larger problem.
PR Checklist