Jeff Garzik wrote:

strlcpy?


No need, when the length is obviously less.

True, not "necessary" in this case ... but it's still IMO a much better practice. And if we're serious about rubbing out that family of bugs, we'll just deprecate "strncpy" and eventually remove it from the kernel.

What's "obvious" today may be false tomorrow, especially
after a few rounds of cut/paste/modify.






------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to