mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 07:21:36 +08:00
Coverity 1304853
This commit is contained in:
@@ -96,6 +96,7 @@ public:
|
|||||||
|
|
||||||
decltype(toString()) out;
|
decltype(toString()) out;
|
||||||
out.resize(out.capacity());
|
out.resize(out.capacity());
|
||||||
|
// coverity[overflow : FALSE]
|
||||||
(void)std::snprintf(reinterpret_cast<char*>(out.begin()), out.size() - 1U,
|
(void)std::snprintf(reinterpret_cast<char*>(out.begin()), out.size() - 1U,
|
||||||
"%-11s %-28s %-20lld %016llx",
|
"%-11s %-28s %-20lld %016llx",
|
||||||
timebuf,
|
timebuf,
|
||||||
|
|||||||
Reference in New Issue
Block a user