Thread (1 message) 1 message, 1 author, 2016-08-23

Re: [PATCH] i40iw: Change mem_resources pointer to a u8

From: Doug Ledford <hidden>
Date: 2016-08-23 16:45:01

On 8/22/2016 7:09 PM, Shiraz Saleem wrote:
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 <redacted>
Signed-off-by: Mustafa Ismail <redacted>
Signed-off-by: Shiraz Saleem <redacted>
Applied, thanks.


-- 
Doug Ledford [off-list ref]
    GPG Key ID: 0E572FDD

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help