Skip to content

Conversation

@owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Mar 3, 2024

I noticed some FPs in apache/geode where the source was a variable called NULLTOKEN. It is an easy fix to exclude variable names that match "null" (case-insensitively) from the sources.

@owen-mc owen-mc requested a review from a team as a code owner March 3, 2024 21:42
Co-authored-by: Tony Torralba <[email protected]>
@owen-mc
Copy link
Contributor Author

owen-mc commented Mar 4, 2024

I ran variant analysis on the top 1000 java repos to see how many alerts would be removed. The answer is very few: 22 from apache/geode and 3 from thymeleaf/thymeleaf. They all seem to be FPs.

@owen-mc owen-mc merged commit 279605b into github:main Mar 4, 2024
@owen-mc owen-mc deleted the java/sensitive-logging-query-exclude-null-in-variable-name branch March 4, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants