]> Pileus Git - ~andy/linux/commit
Staging: bcm: copying more data than intended
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 9 Jan 2013 07:09:19 +0000 (10:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 21:52:37 +0000 (13:52 -0800)
commitcb9cc9cae9ebde1148e48c9682205af8518ec0c9
tree2d273b84555f071223586dc7b55de3c428c15eb9
parentb3d07cf5a1045130057ebf39282092c31ceca185
Staging: bcm: copying more data than intended

This was changed to bcm_flash2x_cs_info instead of bcm_flash_cs_info
when we got rid of the typedefs.  bcm_flash2x_cs_info is quite a bit
larger than bcm_flash_cs_info (436 bytes instead of 96) so it would
corrupt user memory and it's an info leak.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Bcmchar.c