Update java/ql/src/change-notes/2025-03-03-fix-improper-intent-verification-query.md

Co-authored-by: Edward Minnix III <egregius313@github.com>
This commit is contained in:
Lukas Abfalterer
2025-03-06 09:57:16 +01:00
committed by GitHub
parent f2947f7066
commit 32e1589745

View File

@@ -1,4 +1,4 @@
---
category: minorAnalysis
---
* Fixed false positive in CWE-925 by requiring the `onReceive` method must be non-empty
* Overrides of `BroadcastReceiver::onReceive` with no statements in their body are no longer considered unverified by the `java/improper-intent-verification` query. This will reduce false positives from `onReceive` methods which do not perform any actions.