File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
csharp/ql/test/library-tests/frameworks/EntityFramework Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 33| EntityFrameworkCore.cs:50:18:50:28 | access to local variable taintSource | EntityFrameworkCore.cs:47:31:47:39 | "tainted" |
44| EntityFrameworkCore.cs:51:18:51:46 | (...) ... | EntityFrameworkCore.cs:47:31:47:39 | "tainted" |
55| EntityFrameworkCore.cs:52:18:52:42 | (...) ... | EntityFrameworkCore.cs:47:31:47:39 | "tainted" |
6+ | EntityFrameworkCore.cs:53:18:53:66 | (...) ... | EntityFrameworkCore.cs:47:31:47:39 | "tainted" |
67| EntityFrameworkCore.cs:60:18:60:24 | access to property Name | EntityFrameworkCore.cs:47:31:47:39 | "tainted" |
78| EntityFrameworkCore.cs:61:18:61:34 | access to property Name | EntityFrameworkCore.cs:47:31:47:39 | "tainted" |
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ void TestDataFlow()
5050 Sink ( taintSource ) ; // Tainted
5151 Sink ( new RawSqlString ( taintSource ) ) ; // Tainted
5252 Sink ( ( RawSqlString ) taintSource ) ; // Tainted
53- Sink ( ( RawSqlString ) ( FormattableString ) $ "{ taintSource } ") ; // Not tainted
53+ Sink ( ( RawSqlString ) ( FormattableString ) $ "{ taintSource } ") ; // Tainted
5454
5555 // Tainted via database, even though technically there were no reads or writes to the database in this particular case.
5656 var p1 = new Person { Name = taintSource } ;
You can’t perform that action at this time.
0 commit comments