commit | e2d37ddacb8ccaa95bad904c2be29eee737e7f82 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Tue Dec 29 12:27:11 2020 -0800 |
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | Mon Jan 04 11:36:24 2021 +0000 |
tree | da885897ca2b3cbf9c2227eca3ba0a07fd84cdea | |
parent | afd6244a1f8d92299967d3d50e6f6a1466da413f [diff] |
string: Fix strnlen return value The comment on the eos-not-found path says that it is returning the max string length, but it actually uses the current string length. This results in returned values larger than the expected value.