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

Add a null-check for stored plan text in pg_store_plans_internal(). #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

harukat
Copy link

@harukat harukat commented Jul 2, 2024

Variable pstr retrieved from function ptext_fetch() can be NULL due to various factors. Previously, pstr was passed as-is to each per-format process and used in strlen(), causing a crash when it was NULL.

This is a fix for #34 issue.
#34

Variable pstr retrieved from function ptext_fetch() can be NULL due to
various factors.  Previously, pstr was passed as-is to each per-format
process and used in strlen(), causing a crash when it was NULL.
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.

1 participant