[Bug string/19391] strnlen invokes UB by adding maxlen to str

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Wed Dec 23 16:21:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=19391

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Isn't strnlen (p, -1) equivalent to strlen (p)?  It's difficult to tell from
the specification.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list