Skip to content

Commit

Permalink
8274265: Suspicious string concatenation in logTestUtils.inline.hpp
Browse files Browse the repository at this point in the history
Backport-of: c57a6c62baecde0bc10bfca89e0616b0c1fbb714
  • Loading branch information
MBaesken committed Nov 29, 2021
1 parent cd6234d commit 1e4ec1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/hotspot/gtest/logging/logTestUtils.inline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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+"
};
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/gtest/logging/test_logFileOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
};

Expand Down

1 comment on commit 1e4ec1d

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.