Visitar URL original
Fix non-crypto interfaces check in insecure-randomness by owen-mc · Pull Request #649 · github/codeql-go · GitHub
The Wayback Machine - https://web.archive.org/web/20260106075735/https://github.com/github/codeql-go/pull/649
Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Conversation

@owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Dec 17, 2021 •

This was causing false positives. This only became an issue recently because CallNode.getACall() was (unintentionally) extended so that its results include functions which we don't have a body for. (Which should be fixed separately.)

@owen-mc owen-mc requested a review from a team as a code owner December 17, 2021 18:57
@owen-mc owen-mc force-pushed the fix-insecure-randomness-non-crypto-interfaces branch from 1a32040 to 61060c7 Compare December 17, 2021 20:26
@smowton
Copy link
Contributor

smowton commented Jan 10, 2022

Took a quick look: not 100% sure if this is the right fix or not. Could you give the case for and against?

@owen-mc
Copy link
Contributor Author

owen-mc commented Jan 10, 2022

You're right.

@owen-mc owen-mc closed this Jan 10, 2022
@owen-mc owen-mc deleted the fix-insecure-randomness-non-crypto-interfaces branch January 10, 2022 18:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants