-
Notifications
You must be signed in to change notification settings - Fork 849
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
[Bug]: Segmentation fault on execution of the request cagg_validate_query #6625
Labels
Comments
@kav23alex Thanks for the bug report. I was able to reproduce and it looks like there's a lack of parameter checks in the function. |
svenklemm
added a commit
that referenced
this issue
Feb 14, 2024
With the input to pg_parse_query does not contain anything to parse it will return NIL. This patch adds a check for NIL to prevent the segfault that would otherwise happen later in the code. Fixes: #6625
svenklemm
added a commit
that referenced
this issue
Feb 14, 2024
With the input to pg_parse_query does not contain anything to parse it will return NIL. This patch adds a check for NIL to prevent the segfault that would otherwise happen later in the code. Fixes: #6625
svenklemm
added a commit
that referenced
this issue
Feb 14, 2024
When the input to pg_parse_query does not contain anything to parse it will return NIL. This patch adds a check for NIL to prevent the segfault that would otherwise happen later in the code. Fixes: #6625
svenklemm
added a commit
that referenced
this issue
Feb 14, 2024
When the input to pg_parse_query does not contain anything to parse it will return NIL. This patch adds a check for NIL to prevent the segfault that would otherwise happen later in the code. Fixes: #6625
svenklemm
added a commit
that referenced
this issue
Feb 15, 2024
When the input to pg_parse_query does not contain anything to parse it will return NIL. This patch adds a check for NIL to prevent the segfault that would otherwise happen later in the code. Fixes: #6625
svenklemm
added a commit
that referenced
this issue
Feb 19, 2024
When the input to pg_parse_query does not contain anything to parse it will return NIL. This patch adds a check for NIL to prevent the segfault that would otherwise happen later in the code. Fixes: #6625
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What type of bug is this?
Crash
What subsystems and features are affected?
Query executor
What happened?
When executing a request:
SET search_path TO public, _timescaledb_functions;
SELECT * FROM cagg_validate_query($$ $$);
SELECT * FROM cagg_validate_query($$ $$);
TimescaleDB version affected
2.14.0
PostgreSQL version used
16
What operating system did you use?
Ubuntu 22.04
What installation method did you use?
Source
What platform did you run on?
Not applicable
Relevant log output and stack trace
How can we reproduce the bug?
The text was updated successfully, but these errors were encountered: