aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-01-30 17:41:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 19:52:30 -0800
commitaea48157ce1b1fb527747256baf9ec39d0d121a2 (patch)
tree9702f2c6106541f2f6fb95c073b15fff1324790b /tools/perf/scripts/python/netdev-times.py
parentStaging: rtl8712: Remove unnecessary cast on void pointer (diff)
staging: rtl8712: memory corruption in wpa_set_encryption()
->KeyMaterial is declared as a 16 byte array, but we only ever allocate either 5 or 13 bytes of it. The problem is that we memset() all 16 bytes to zero so we're memsetting past the end of the allocated memory. I fixed this in slightly lazy way, by just allocating 16 bytes. This works but there is a lot more cleanup you could do to this code if you wanted. Which is why this code is in staging. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions