Subject: Re: strl{cpy,cat} into libkern
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: None <>
List: tech-kern
Date: 05/15/2003 23:20:24
>Luke Mewburn writes:
>>Not only that, but there is code that depends upon strncpy()
>>zero-filling `dst' to `len' if strlen(`src') < `len'.
>In general, yes, but in our *kernel*?  Shudder.
>(So far I havent found any in the kernel; mostly device/interface
>names, intrhandler names, boot-menu strings, bootpath, usw.
>Dunno about the ACPI code.)

	you'll be very surprised to what you will find once you start auditing.
	for instance, there are wacky filename manipulation under miscfs.