Skip to content

Conversation

sdroege
Copy link
Member

@sdroege sdroege commented Jun 11, 2025

Instead of returning NULL make sure to return a valid pointer that dereferences into a NULL-pointer.

Fixes #1733

sdroege added 2 commits June 11, 2025 17:49
…valid pointer

Instead of returning `NULL` make sure to return a valid pointer that
dereferences into a `NULL`-pointer.

Fixes gtk-rs#1733
@sdroege sdroege requested a review from bilelmoussaoui June 11, 2025 14:51
@sdroege sdroege added the needs-backport PR needs backporting to the current stable branch label Jun 11, 2025
@sdroege sdroege merged commit e9a2ab3 into gtk-rs:main Jun 16, 2025
48 checks passed
@sdroege sdroege deleted the strv-into-raw-empty branch June 16, 2025 06:44
@sdroege sdroege added backported PR was backported to the current stable branch and removed needs-backport PR needs backporting to the current stable branch labels Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported PR was backported to the current stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] StrV::into_raw() can unexpectedly return NULL

1 participant