hso: memsetting wrong data in hso_get_count()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 21 Feb 2012 21:30:25 +0000 (21:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Feb 2012 20:31:54 +0000 (15:31 -0500)
commit22ad7499bc9297e47c8779bf5523694f28338499
tree237ee1cd079700e3313e9ee78644deea150f0134
parent5d38b1f8cf8798d4df7809b3f3e38fad4d923e85
hso: memsetting wrong data in hso_get_count()

The intent was to clear out the icount struct here, but we accidentally
clear stack memory instead.  It probably will lead to a NULL dereference
right away.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c