-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Our version of strnlen returns a different value than the standard strnlen in the case where no NUL byte is found (-1 rather than maxsize). We need to audit all existing uses and verify which they are expecting. Additionally we should either rename it, remove it, or give it the standard behavior (and only on platforms that lack a real strnlen).