Searched hist:ea5e22424e00d9134556a966fe4c2a28dcbb94dc (Results 1 – 1 of 1) sorted by relevance
/openbmc/bmcweb/http/ |
H A D | logging.hpp | diff ea5e22424e00d9134556a966fe4c2a28dcbb94dc Tue Aug 06 12:28:35 CDT 2024 Ed Tanous <etanous@nvidia.com> Fix overflow
Static analysis correctly notes that in the case of empty string, this can overflow. Given that this is coming from a constexpr expression, that would be impossible in practice, but having static analysis pass is helpful.
Refactor the code to account for index overflows.
Tested: Code compiles
Change-Id: I00a1e0661182a6fb15acd6822faabcc0ff8191b7 Signed-off-by: Ed Tanous <etanous@nvidia.com>
|