Skip to content

[Rust] Fix a double free in Metadata::get_string_list - #8635

Open
bdash wants to merge 1 commit into
devfrom
test_rust_metadata_get_string_list
Open

bdash wants to merge 1 commit into
devfrom
test_rust_metadata_get_string_list

Conversation

@bdash

@bdash bdash commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

get_string_list now copies the strings that BNMetadataGetStringList returns rather than taking ownership of them, since BNFreeMetadataStringList will free them.

`get_string_list` now copies the strings that `BNMetadataGetStringList`
returns rather than taking ownership of them, since
`BNFreeMetadataStringList` will free them.
@bdash
bdash requested a review from emesare October 6, 2026 16:34

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants