This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 other/50277] strndup should use strnlen instead of strlen


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50277

--- Comment #3 from Ivan Tubert-Brohman <ivan.tubert at gmail dot com> 2011-09-02 16:55:07 UTC ---
And the code in glibc already uses strnlen.

Sorry about that. Please close the ticket unless you deem necessary to modify
the version in libiberty/strndup.c


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