Skip to content

kws: ensure the caller's pointer is set to NULL in case of an error in kws_init_ex, preventing potential double-free if misused. ks_debug: add NULL check in backtrace callback to prevent segfault.#250

Merged
andywolk merged 1 commit intomasterfrom
kws_misuse
Nov 14, 2025

Conversation

@andywolk
Copy link
Copy Markdown
Contributor

No description provided.

…n kws_init_ex, preventing potential double-free if misused.

ks_debug: add NULL check in backtrace callback to prevent segfault.
@andywolk andywolk requested a review from anthmFS November 14, 2025 20:50
@andywolk andywolk merged commit c855b30 into master Nov 14, 2025
16 checks passed
@andywolk andywolk deleted the kws_misuse branch November 14, 2025 21:43
@andywolk andywolk added the bug Something isn't working label Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants