diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2012-11-27 18:08:44 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 16:49:21 (GMT) |
commit | 8b7a13c3f404cbd26b495fa9c34339cb9b7b8164 (patch) | |
tree | 52ad2d0b5f1342665b867e9be00ea3f4ed175cde /drivers/staging/comedi | |
parent | 0df1a84e0ec875d1bc12ac6aca325cb3543a7ad6 (diff) | |
download | linux-fsl-qoriq-8b7a13c3f404cbd26b495fa9c34339cb9b7b8164.tar.xz |
staging: r8712u: Fix possible buffer overrun
In routine r8712_report_sec_ie(), the code could set the length
of the buffer to 256; however, that value is one larger than the
corresponding memory allocation.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
0 files changed, 0 insertions, 0 deletions