diff options
author | Young Xiao <[email protected]> | 2018-11-28 08:06:53 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-12-05 09:56:09 +0100 |
commit | 300cd664865bed5d50ae0a42fb4e3a6f415e8a10 (patch) | |
tree | 94bb39ecf88f66750e1f78776c1bf066d93186f5 /tools/perf/util/trace-event-scripting.c | |
parent | 2595646791c319cadfdbf271563aac97d0843dc7 (diff) |
staging: rtl8712: Fix possible buffer overrun
In commit 8b7a13c3f404 ("staging: r8712u: Fix possible buffer
overrun") we fix a potential off by one by making the limit smaller.
The better fix is to make the buffer larger. This makes it match up
with the similar code in other drivers.
Fixes: 8b7a13c3f404 ("staging: r8712u: Fix possible buffer overrun")
Signed-off-by: Young Xiao <[email protected]>
Cc: stable <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions