8274265: Suspicious string concatenation in logTestUtils.inline.hpp

Reviewed-by: clanger, mbaesken
This commit is contained in:
Jesper Steen Møller 2021-09-28 18:22:15 +00:00 committed by Christoph Langer
parent 6f4cefbcba
commit c57a6c62ba
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@
#define LOG_TEST_STRING_LITERAL "a (hopefully) unique log message for testing"
static const char* invalid_selection_substr[] = {
"=", "+", " ", "+=", "+=*", "*+", " +", "**", "++", ".", ",", ",," ",+",
"=", "+", " ", "+=", "+=*", "*+", " +", "**", "++", ".", ",", ",,", ",+",
" *", "all+", "all*", "+all", "+all=Warning", "==Info", "=InfoWarning",
"BadTag+", "logging++", "logging*+", ",=", "gc+gc+"
};

View file

@ -74,7 +74,7 @@ TEST_VM(LogFileOutput, parse_invalid) {
"filecount= 2", "filesize=2 ",
"filecount=ab", "filesize=0xz",
"filecount=1MB", "filesize=99bytes",
"filesize=9999999999999999999999999"
"filesize=9999999999999999999999999",
"filecount=9999999999999999999999999"
};