commit | 710778ff878a06654175863db133293007d45aee | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Tue Sep 06 12:44:25 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 20 15:40:12 2011 -0400 |
tree | 5c620bea04a61301dbaa7ca5280e64caf76a732c | |
parent | 22e83a2926998fe132ae4dd26f1e998c70ae2e38 [diff] |
gianfar: Fix overflow check and return value for gfar_get_cls_all() This function may currently fill one entry beyond the end of the array it is given. It also doesn't return an error code in case it does detect overflow. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>