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 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html