Python: False positive: Tuple Destructuring
Offen
false-positive
- Vorherrschende Sprache
- CodeQL
- Sterne
- 10.1k
- Forks
- 2.1k
- Ø Merge
- 2 T. 15 Std.
- Gemergte PRs (30 T.)
- 141
Beschreibung
**Description of the false positive**
CodeQL incorrectly identifies dataflow occurring from a constant value when a tuple is being destructured.
**Code samples or links to source code**

Here's it's very clear that `status` will always be `200` on this data flow path, but CodeQL incorrectly believes there is dataflow from the `res.json()` to the `status` variable.
https://github.com/Chainguard-Wolfi-Bites-Back/istio__istio/security/code-scanning/5
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.