linux/drivers/net/ethernet/cisco/enic
Dan Carpenter 4505f40a6f enic: change sprintf() to snprintf()
These are copying data into 16 char arrays.  They all specify that the
first string can't be more than 11 characters but once you add on the
"-rx-" and the NUL character there isn't space for the %d.

The first string is probably never going to be 11 characters, but if it
is then let's truncate the string instead of corrupting memory.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-18 14:34:48 -05:00
..
Kconfig net: Remove bogus dependencies on INET 2012-11-19 19:13:59 -05:00
Makefile
cq_desc.h
cq_enet_desc.h enic: Fix endianness bug. 2012-02-24 17:53:03 -05:00
enic.h enic: Fix addr valid check in enic_set_vf_mac 2012-03-08 00:28:19 -08:00
enic_dev.c net: make vlan ndo_vlan_rx_[add/kill]_vid return error value 2011-12-08 19:52:37 -05:00
enic_dev.h net: make vlan ndo_vlan_rx_[add/kill]_vid return error value 2011-12-08 19:52:37 -05:00
enic_main.c enic: change sprintf() to snprintf() 2013-01-18 14:34:48 -05:00
enic_pp.c enic: replace open-coded ARRAY_SIZE with macro 2012-04-13 13:15:14 -04:00
enic_pp.h enic: Add support for port profile association on a enic SRIOV VF 2011-09-27 01:10:24 -04:00
enic_res.c enic: rename CMD_MAC_ADDR to CMD_GET_MAC_ADDR 2012-02-20 00:51:40 -05:00
enic_res.h
rq_enet_desc.h
vnic_cq.c
vnic_cq.h
vnic_dev.c enic: Add new fw devcmd to set mac address of an interface 2012-02-20 00:51:41 -05:00
vnic_dev.h enic: Add new fw devcmd to set mac address of an interface 2012-02-20 00:51:41 -05:00
vnic_devcmd.h enic: Add new fw devcmd to set mac address of an interface 2012-02-20 00:51:41 -05:00
vnic_enet.h
vnic_intr.c
vnic_intr.h
vnic_nic.h
vnic_resource.h
vnic_rq.c drivers/net: Remove unnecessary k.alloc/v.alloc OOM messages 2012-01-31 16:20:21 -05:00
vnic_rq.h
vnic_rss.h
vnic_stats.h
vnic_vic.c
vnic_vic.h
vnic_wq.c drivers/net: Remove unnecessary k.alloc/v.alloc OOM messages 2012-01-31 16:20:21 -05:00
vnic_wq.h
wq_enet_desc.h