"In  doing this, strnlen() looks only at the first maxlen characters at s and
never beyond s+maxlen."

Shouldn't it be "never beyond s+maxlen-1"?

CL<

Reply via email to