commit | 45b6106898f6bca88d66639354b536d770d1c53c | [log] [tgz] |
---|---|---|
author | Greg Kaiser <[email protected]> | Fri Feb 11 17:08:54 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Fri Feb 11 17:08:54 2022 +0000 |
tree | 8eb2afa5fbf9cba186bc43c18d1e037191713885 | |
parent | 6dd6d5c10c212600f0b69800fa48ce52228463b1 [diff] | |
parent | 7a21c0dc179c4cc5129542d9fd63a9032509fe7a [diff] |
system: Avoid uninitialized memory usage am: 31914dbf37 am: 7e9ec3985c am: 7a21c0dc17 Original change: https://android-review.googlesource.com/c/platform/system/dmesgd/+/1981727 Change-Id: I3d250c744aefe95c6de0fc32fc0094434513bdb9
diff --git a/dmesg_parser.cpp b/dmesg_parser.cpp index 0a81808..6034965 100644 --- a/dmesg_parser.cpp +++ b/dmesg_parser.cpp
@@ -23,7 +23,7 @@ const std::string kTimestampRe = "^\\[[^\\]]+\\]\\s"; -DmesgParser::DmesgParser() { +DmesgParser::DmesgParser() : report_ready_(false) { std::string bug_types; for (auto t : {"KFENCE", "KASAN"}) { if (bug_types.empty()) {