Files
erofs-linux/drivers/net
Dan Carpenter a8c1d28ac3 s2io: use snprintf() as a safety feature
"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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2015-01-19 19:42:21 -05:00
..
2014-12-22 16:34:39 -05:00
…
…
…
…
…
…
2015-01-19 16:16:32 -05:00
…
…
…
…
…
…
2014-12-16 11:19:42 -05:00
…
…
…
…
…
…
…
2014-12-16 11:19:41 -05:00
…
2014-12-23 23:57:31 -05:00