From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Date: Mon, 19 Jan 2015 22:34:51 +0300 > "sp->desc[i]" has 25 characters. "dev->name" has 15 characters. If we > used all 15 characters then the sprintf() would overflow. > > I changed the "sprintf(sp->name, "%s Neterion %s"" to snprintf(), as > well, even though it can't overflow just to be consistent. > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Applied, thanks Dan. -- 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