mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
C++: Fix strncpy model.
This commit is contained in:
@@ -709,5 +709,5 @@ char * strncpy (char *, const char *, unsigned long);
|
||||
void test_strncpy(char* d, char* s) {
|
||||
argument_source(s);
|
||||
strncpy(d, s, 16);
|
||||
sink(d); // $ ast MISSING: ir
|
||||
sink(d); // $ ast ir
|
||||
}
|
||||
Reference in New Issue
Block a user