diff options
author | Shiraz Saleem <[email protected]> | 2016-08-22 18:09:14 -0500 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-08-23 12:40:19 -0400 |
commit | 6c7d46fdb8165ece4b0a17fb8f0b9320dbfeffc2 (patch) | |
tree | ed750a40801fa22db1a1eeef65b521f4101dbeea /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 92d27ae6b3bb3491c1685fb3ca7ae1b26d81bdf4 (diff) |
i40iw: Change mem_resources pointer to a u8
iwdev->mem_resources is incorrectly defined as an unsigned
long instead of u8. As a result, the offset into the dynamic
allocated structures in i40iw_initialize_hw_resources() is
incorrectly calculated and would lead to writing of memory
regions outside of the allocated buffer.
Fixes: 8e06af711bf2 ("i40iw: add main, hdr, status")
Reported-by: Stefan Assmann <[email protected]>
Signed-off-by: Mustafa Ismail <[email protected]>
Signed-off-by: Shiraz Saleem <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions