[PATCH 2/4] staging: keucr: Use strncpy() instead of custom StringCopy() and some style cleanups

Dan Carpenter error27 at gmail.com
Fri Dec 31 10:17:51 UTC 2010


In the original code the StringCopy() function was equivalent to
memcpy().  I don't know if the source string (which is probably not an
actual string with this code) had NULL characters but if it did, that
could cause bugs.

regards,
dan carpenter




More information about the devel mailing list