Skip to content

fix: Nil-check Input in Clone() for following/preceding queries - #131

Open
AruneshDwivedi wants to merge 1 commit into
antchfx:masterfrom
AruneshDwivedi:fix/clone-nil-input
Open

fix: Nil-check Input in Clone() for following/preceding queries#131
AruneshDwivedi wants to merge 1 commit into
antchfx:masterfrom
AruneshDwivedi:fix/clone-nil-input

Conversation

@AruneshDwivedi

Copy link
Copy Markdown
Contributor

followingQuery.Clone() and precedingQuery.Clone() called f.Input.Clone() without checking if Input was nil, causing a panic when the query had no input (e.g. concat("a","f")). Added nil checks to both Clone() methods.

Signed-off-by: Arunesh Dwivedi <arunesh.devops@gmail.com>
@AruneshDwivedi AruneshDwivedi changed the title fix: nil-check Input in Clone() for following/preceding queries Fix: nil-check Input in Clone() for following/preceding queries Aug 3, 2026
@AruneshDwivedi AruneshDwivedi changed the title Fix: nil-check Input in Clone() for following/preceding queries fix: Nil-check Input in Clone() for following/preceding queries Aug 3, 2026
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