Skip to content

Commit b43cbf7

Browse files
jketemaMathiasVP
andauthored
Update cpp/ql/test/query-tests/Likely Bugs/Format/NonConstantFormat/test.cpp
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent abe9258 commit b43cbf7

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/query-tests/Likely Bugs/Format/NonConstantFormat

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Likely Bugs/Format/NonConstantFormat/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,5 @@ void print_ith_message() {
154154

155155
void fmt_via_strcpy(char *data) {
156156
strcpy(data, "some string");
157-
printf(data);
157+
printf(data); // BAD
158158
}

0 commit comments

Comments
 (0)