This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
__wcslen_avx2 also assumes that the input is an array that can be accessed,
which is fine as well according to my reading of POSIX.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]