mirror of
https://github.com/github/codeql.git
synced 2026-04-23 15:55:18 +02:00
Fix expectation in NSData tests
This commit is contained in:
@@ -1 +0,0 @@
|
||||
| nsdata.swift:110:45:110:45 | bytes | Unexpected result: tainted=108 |
|
||||
|
||||
@@ -107,7 +107,7 @@ func test() {
|
||||
// ";NSData;true;enumerateBytes(_:);;;Argument[-1];Argument[0].Parameter[0];taint"
|
||||
let nsDataTainted17 = source() as! NSData
|
||||
nsDataTainted17.enumerateBytes {
|
||||
bytes, byteRange, stop in sink(arg: bytes) // tainted=108
|
||||
bytes, byteRange, stop in sink(arg: bytes) // $ tainted=108
|
||||
}
|
||||
// ";NSData;true;getBytes(_:);;;Argument[-1];Argument[0];taint",
|
||||
let nsDataTainted18 = source() as! NSData
|
||||
|
||||
Reference in New Issue
Block a user