[Gllug] C function strcasecmp

tet at accucard.com tet at accucard.com
Mon Jul 23 14:11:29 UTC 2001


David Spencer writes:

>strn(anything) doesn't protect you from buffer overflows;

and Alex Hudson also says:

>I'm not sure how a non-destructive comparison can cause a buffer overflow,

What can I say? Mea Culpa. Friday wasn't a good day. I was obviously
referring to strncpy(), which has no bearing on this discussion at
all. Sigh.

Tet

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list