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.
Loading
Please register or sign in to comment