-
Giovanni Bajo authored
When the maxlen was exactly equal to the length of the string, the function was returning 0 because the end-of-buffer check was misplaced.
79333a24
When the maxlen was exactly equal to the length of the string, the function was returning 0 because the end-of-buffer check was misplaced.