fix: guard FFIPackedWriter against double close to prevent heap-use-after-free#48561
fix: guard FFIPackedWriter against double close to prevent heap-use-after-free#48561sunby wants to merge 1 commit intomilvus-io:masterfrom
Conversation
…fter-free Signed-off-by: sunby <sunbingyi1992@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sunby The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[ci-v2-notice] To rerun ci-v2 checks, comment with:
If you have any questions or requests, please contact @zhikunyao. |
|
/ci-rerun-code-check |
2 similar comments
|
/ci-rerun-code-check |
|
/ci-rerun-code-check |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #48561 +/- ##
===========================================
+ Coverage 77.66% 84.01% +6.35%
===========================================
Files 2112 627 -1485
Lines 351497 104217 -247280
===========================================
- Hits 272974 87554 -185420
+ Misses 70204 16663 -53541
+ Partials 8319 0 -8319
🚀 New features to boost your workflow:
|
|
/ci-rerun-code-check |
1 similar comment
|
/ci-rerun-code-check |
|
/ci-rerun-code-check |
|
/ci-rerun-code-check |
|
/ci-rerun-code-check |
|
/ci-rerun-code-check |
|
/ci-rerun-code-check |
Add nil guard and nil-out cWriterHandle/cProperties after close in FFIPackedWriter, matching the FFIPackedReader fix in #48473.
issue: #48560