mlx4_core: Fix array overrun in dump_dev_cap_flags()
authorRoland Dreier <rolandd@cisco.com>
Sat, 19 May 2007 15:51:57 +0000 (08:51 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sat, 19 May 2007 15:51:57 +0000 (08:51 -0700)
commit23c15c21d34a4b4b4d7b9a95ce498991c5339c77
tree7294414512272d9a1d516c779542b9aff84a9f25
parent65adfa911a3522c1e40e55afd472dd571dc2431b
mlx4_core: Fix array overrun in dump_dev_cap_flags()

Don't overrun fname[] array when decoding device flags.

This was spotted by the Coverity checker (CID 1642).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/fw.c