Skip to content

ClientContext.h: Prevent double free by checking in wrapper#3377

Draft
functionpointer wants to merge 1 commit intoearlephilhower:masterfrom
functionpointer:clientcontext_double_free_alternative
Draft

ClientContext.h: Prevent double free by checking in wrapper#3377
functionpointer wants to merge 1 commit intoearlephilhower:masterfrom
functionpointer:clientcontext_double_free_alternative

Conversation

@functionpointer
Copy link
Copy Markdown
Contributor

Adds NULL checks in lwip_wrap.cpp to prevent double frees in ClientContext.h

See #3265 and #3368
It is an alternative to #3370

As mentioned in #3368 (comment), this is currently incomplete as it does not all accesses of pcb go through the wrapper.

This work in progress commit adds NULL checks in lwip_wrap.cpp to prevent double frees in ClientContext.h

See earlephilhower#3265 and earlephilhower#3368

It is alternative to earlephilhower#3370
@functionpointer functionpointer mentioned this pull request Mar 26, 2026
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.

1 participant