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

Segfault in gateway.c:FAIL_IF_CHECKPOINTING #466

Open
cole-miller opened this issue Jan 27, 2023 · 1 comment
Open

Segfault in gateway.c:FAIL_IF_CHECKPOINTING #466

cole-miller opened this issue Jan 27, 2023 · 1 comment
Labels
Bug Confirmed to be a bug Incomplete Waiting on more information from reporter

Comments

@cole-miller
Copy link
Contributor

cole-miller commented Jan 27, 2023

Fuzzing revealed a segfault on this line:

_rv = _file->pMethods->xShmLock( \

Looking at the situation in GDB, it appears that _file->pMethods can be NULL. The FAIL_IF_CHECKPOINTING in question is the one in handle_query_sql.

@cole-miller
Copy link
Contributor Author

This can also happen in handle_exec_sql.

@MathieuBordere MathieuBordere added Bug Confirmed to be a bug Incomplete Waiting on more information from reporter labels Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed to be a bug Incomplete Waiting on more information from reporter
Projects
None yet
Development

No branches or pull requests

2 participants