mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
C++: Fix flow from this by ref.
This commit is contained in:
@@ -60,7 +60,7 @@ void test_setIndirectly() {
|
||||
void test_setThroughNonMember() {
|
||||
S s;
|
||||
s.setThroughNonMember(user_input());
|
||||
sink(s.getThroughNonMember()); // flow [NOT DETECTED]
|
||||
sink(s.getThroughNonMember()); // flow
|
||||
}
|
||||
|
||||
void test_nonMemberSetA() {
|
||||
|
||||
Reference in New Issue
Block a user