Re: [PATCH] nbd: Fix memory leak from krealloc() if another allocation fails

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

 



> syzkaller reports a memory leak when injecting allocation failures:
…
> as then config->num_connections is not incremented and the cleanup code
> freeing config->socks is skipped. Just make it run always.

How do you think about to add the tag “Fixes” for the final change description?

Regards,
Markus




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux