Skip to content

http: plug leak#901

Merged
pkova merged 1 commit intodevelopfrom
dozreg/http-scry-leak
Oct 29, 2025
Merged

http: plug leak#901
pkova merged 1 commit intodevelopfrom
dozreg/http-scry-leak

Conversation

@dozreg-toplud
Copy link
Copy Markdown
Contributor

_http_req_dispatch is supposed to transfer req noun, but in scry-over-http code path it was not lost, leading to a leak.

@dozreg-toplud dozreg-toplud requested a review from a team as a code owner October 29, 2025 11:13
@pkova pkova merged commit 2a6914c into develop Oct 29, 2025
2 checks passed
@pkova pkova deleted the dozreg/http-scry-leak branch October 29, 2025 15:06
pkova added a commit that referenced this pull request Nov 3, 2025
Call to the leaking function `_http_req_dispatch`, whose leak I
attempted to fix in #901 was optional in `_http_rec_accept`. So I made
`_http_req_dispatch` retain the argument, and the two callers free the
argument instead.
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