Subject: Re: strl{cpy,cat} into libkern
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Noriyuki Soda <soda@sra.co.jp>
List: tech-kern
Date: 05/15/2003 00:42:59
>>>>> On Thu, 15 May 2003 00:33:58 +0900,
Jun-ichiro itojun Hagino <itojun@iijlab.net> said:
> is it ok if i introduce strl{cpy,cat} into libkern? strcpy -> strlcpy
> rewrite will be next.
Is there any insecure usage of str{cpy,cat} in kernel?
If so, it should be OK.
But I don't think it's right thing to blindly rewrite str{cpy,cat} to
strl{cpy,cat}, because there are many cases that completely secure
usage of str{cpy,cat}.
--
soda