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

The gp_workers_free function in gp_workers.c has a wrong param issue #92

Closed
yixiangzhike opened this issue Mar 11, 2024 · 1 comment · Fixed by #93
Closed

The gp_workers_free function in gp_workers.c has a wrong param issue #92

yixiangzhike opened this issue Mar 11, 2024 · 1 comment · Fixed by #93
Assignees
Labels
bug Something isn't working

Comments

@yixiangzhike
Copy link
Contributor

yixiangzhike commented Mar 11, 2024

The first param w->free_list is wrong for LIST_DEL when free the busy list,it should be w->busy_list.
Line 192 in the file src/gp_workers.c, use-after-free occured here.

@simo5
Copy link
Contributor

simo5 commented Mar 11, 2024

Nice catch!

@simo5 simo5 self-assigned this Mar 11, 2024
@simo5 simo5 added the bug Something isn't working label Mar 11, 2024
simo5 added a commit to simo5/gssproxy that referenced this issue Mar 11, 2024
Fixes gssapi#92

Signed-off-by: Simo Sorce <simo@redhat.com>
simo5 added a commit that referenced this issue Mar 11, 2024
Fixes #92

Signed-off-by: Simo Sorce <simo@redhat.com>
@simo5 simo5 closed this as completed in #93 Mar 11, 2024
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 a pull request may close this issue.

2 participants