This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug string/19391] strnlen invokes UB by adding maxlen to str
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 23 Dec 2015 16:21:17 +0000
- Subject: [Bug string/19391] strnlen invokes UB by adding maxlen to str
- Auto-submitted: auto-generated
- References: <bug-19391-131 at http dot sourceware dot org/bugzilla/>
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.