commit | 16111f1abb224594569a4f08e5cf7182dd9c7bc6 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Wed Dec 06 14:32:23 2023 +0900 |
committer | Yi Kong <yikong@google.com> | Wed Dec 06 14:35:51 2023 +0900 |
tree | acff4e7e621f865b9ff57a386360f567a63caf41 | |
parent | 2335353b9ec76f0941f8a5a242aeb7a38bed7ccd [diff] |
Fix -Wfortify-source compiler warning dump.cpp:448:13: error: 'snprintf' will always be truncated; specified size is 2, but format string expands to at least 3 [-Werror,-Wfortify-source] 448 | snprintf(buf, std::size(buf) - 1, "%02x", (unsigned int)b); | Test: presubmit Change-Id: Ie8d459a048ad8e9ecd95ecfd0d717bd311285dad