forked from babelfish-for-postgresql/babelfish_extensions
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash in sp_describe_undeclared_parameters (babelfish-for-postgre…
…sql#2687) (babelfish-for-postgresql#2690) (babelfish-for-postgresql#2701) In our previous attempt of fixing sp_describe_undeclared_parameters related crash, we missed some corner cases where few variables will be left NULL if is_sp_describe_undeclared_parameters is marked as false. Then when we try to access those variables, we get seg fault. In this commit, we fix it by adding extra check on is_sp_describe_undeclared_parameters. Issues Resolved BABEL-5068 Signed-off-by: Shameem Ahmed [email protected] (cherry picked from commit 02a6c01)
- Loading branch information
1 parent
a62ec97
commit dc7712a
Showing
1 changed file
with
110 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters