This is general question of the common problem with /lib/libc.so.7 which do SEGV in strlen()
Why does it do SEGV?
http://www.google.co.uk/search?q="strlen+()+from+%2Flib%2Flibc.so.7" (1,470 results)
I understand from C perspective that the NULL is passed, but why libc.so can't check for passed NULLs and it should solve all the problems with software crashes.
Examples:
http://forums.freebsd.org/showthread.php?t=19387&highlight=strlen
http://forums.freebsd.org/showpost.php?p=56576&postcount=23&highlight=strlen
http://forums.freebsd.org/showthread.php?p=110591
Any main reason that it crashing and can't be fixed from the root? It will save a lot of time.
Why does it do SEGV?
http://www.google.co.uk/search?q="strlen+()+from+%2Flib%2Flibc.so.7" (1,470 results)
I understand from C perspective that the NULL is passed, but why libc.so can't check for passed NULLs and it should solve all the problems with software crashes.
Examples:
http://forums.freebsd.org/showthread.php?t=19387&highlight=strlen
http://forums.freebsd.org/showpost.php?p=56576&postcount=23&highlight=strlen
http://forums.freebsd.org/showthread.php?p=110591
Any main reason that it crashing and can't be fixed from the root? It will save a lot of time.