Fix a bug in extract_name_no_compression.
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.
Showing
Please register or sign in to comment
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.