staging: rts5139: use kzalloc() to close an info leak
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 23 Sep 2012 16:31:30 +0000 (19:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 16:19:50 +0000 (09:19 -0700)
commit55e7b4fbd47a510b6c8ca53eaf7d9dff816cd26c
treea431fa3d13f4234ce3243daae617e84688a91684
parentd34602de3ba29b3ceafe4e15e27a25c6a5bccc38
staging: rts5139: use kzalloc() to close an info leak

If we don't fill the whole buffer then there is information leaked to
the user.

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