mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
Fix QLL and add change notes with tests
This commit is contained in:
@@ -14,6 +14,6 @@ import java
|
||||
import semmle.code.java.security.ImproperIntentVerificationQuery
|
||||
|
||||
from AndroidReceiverXmlElement reg, Method orm, SystemActionName sa
|
||||
where unverifiedSystemReceiver(reg, orm, sa) and orm.getBody().getBlock().getNumStmt() > 0
|
||||
where unverifiedSystemReceiver(reg, orm, sa)
|
||||
select orm, "This reciever doesn't verify intents it receives, and $@ to receive $@.", reg,
|
||||
"it is registered", sa, "the system action " + sa.getName()
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* Fixed false positive in CWE-925 by requiring the `onReceive` method must be non-empty
|
||||
Reference in New Issue
Block a user