mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
Update cpp/ql/test/query-tests/Likely Bugs/Format/NonConstantFormat/test.cpp
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
This commit is contained in:
@@ -154,5 +154,5 @@ void print_ith_message() {
|
||||
|
||||
void fmt_via_strcpy(char *data) {
|
||||
strcpy(data, "some string");
|
||||
printf(data);
|
||||
printf(data); // BAD
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user