Skip to content

Conversation

@andrecsilva
Copy link
Contributor

No description provided.

@andrecsilva andrecsilva marked this pull request as ready for review February 7, 2025 11:24
@andrecsilva andrecsilva requested a review from nahsra February 7, 2025 11:24
ASTTransforms.addStatementBeforeStatement(topStatement, closeOriginal);
}

// TODO will this work for every type of execute statement? or just executeQuery?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this comment need to be adjusted?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember exactly why it's there, but we can probably safely remove this one, the transformation is restricted to only 4 types of execute statements. All of these have an equivalent version in PreparedStatement objects.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 7, 2025

@andrecsilva andrecsilva merged commit 0c387e4 into main Feb 7, 2025
8 checks passed
@andrecsilva andrecsilva deleted the sqli-comp-error branch February 7, 2025 14:39
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.

2 participants