Re: [PATCH] Staging: dgnc: Replace snprintf instead of sprintf

2015-04-24 Thread Dan Carpenter
On Fri, Apr 24, 2015 at 11:22:24AM +, DHANAPAL, GNANACHANDRAN (G.) wrote: > This patch replaces snprintf instead of sprintf to avoid buffer overflow > > Signed-off-by: Gnanachandran Dhanapal > --- > drivers/staging/dgnc/dgnc_mgmt.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[PATCH] Staging: dgnc: Replace snprintf instead of sprintf

2015-04-24 Thread DHANAPAL, GNANACHANDRAN (G.)
This patch replaces snprintf instead of sprintf to avoid buffer overflow Signed-off-by: Gnanachandran Dhanapal --- drivers/staging/dgnc/dgnc_mgmt.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_mgmt.c b/drivers/staging/dgnc/dgnc_mgmt.c index b13