Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible memory leak in the ff_sendmsg function. #832

Open
freak82 opened this issue Jul 20, 2024 · 0 comments
Open

Possible memory leak in the ff_sendmsg function. #832

freak82 opened this issue Jul 20, 2024 · 0 comments

Comments

@freak82
Copy link

freak82 commented Jul 20, 2024

Hi there,

It seems to me that the conditionally allocated freebsd_cmsg is not freed in all code paths in this function.
If the linux2freebsd_msghdr or the sendit function calls fail they goto to the kern_fail but the freebsd_cmsg is not freed there.
It's freed only on the non-error code path.

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

No branches or pull requests

1 participant