From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Date: Thu, 24 Nov 2011 15:42:09 +0300 > "cfg->drvid" comes from the user so there is a possibility they > didn't NUL terminate it properly. > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > v2: use strnlen() instead of strlen(). Applied. -- 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