Re: [PATCH] i40iw: Avoid writing to freed memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/23/2016 6:24 PM, Shiraz Saleem wrote:
> From: Mustafa Ismail <mustafa.ismail@xxxxxxxxx>
> 
> iwpbl->iwmr points to the structure that contains iwpbl, 
> which is iwmr. Setting this to NULL would result in 
> writing to freed memory. So just free iwmr, and return. 
> 
> Fixes: d37498417947 ("i40iw: add files for iwarp interface")
> 
> Reported-by: Stefan Assmann <sassmann@xxxxxxxxxx>
> Signed-off-by: Mustafa Ismail <mustafa.ismail@xxxxxxxxx>
> Signed-off-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>

Thanks, applied.


-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG Key ID: 0E572FDD

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux