This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
bug in strlen
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: bug in strlen
- From: rashutos at in dot ibm dot com
- Date: Thu, 7 Sep 2000 15:18:39 +0530
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
Hello,
the strlen() function has a bug ... If you pass a NULL string to strlen(),
the program crashes ... for NULL pointer dereference (SIGSEGV)
Ashutosh S. Rajekar
Hardware Design and Systems (HDS) Group,
IBM India
http://www.rajekar.org