Re: [PATCH resend] Fix possible NULL ptr dereferences and memory leaks

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

 



On 6/13/22 05:59, Mateusz Grzonka wrote:
> In Assemble there was a NULL check for sra variable,
> which effectively didn't stop the execution in every case.
> That might have resulted in a NULL pointer dereference.
> 
> Also in super-ddf, mu variable was set to NULL for some condition,
> and then immidiately dereferenced.
> Additionally some memory wasn't freed as well.
> 
> Signed-off-by: Mateusz Grzonka <mateusz.grzonka@xxxxxxxxx>
> ---
>  Assemble.c  | 7 ++++++-
>  super-ddf.c | 9 +++++++--
>  2 files changed, 13 insertions(+), 3 deletions(-)

Applied!

Thanks,
Jes





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux