[PATCH] Potential memory leak becaue of wrong variable check

Thomas Haller thaller at redhat.com
Fri Sep 1 00:46:35 PDT 2017


On Fri, 2017-09-01 at 05:03 +0000, Amit Khatri wrote:
> From: Amit Khatri <amit.khatri at samsung.com>
> Date: Tue, 22 Aug 2017 23:34:50 -0700
> Subject: [PATCH] Potential memory leak becaue of wrong variable
> check.
> 
> in rtnl_link_vf_vlan_alloc() function allocating memory to
> vlans while checking NULL or not vf_vlans.
> it can cause memory leak.
> 
> Signed-off-by: Amit Khatri <amit.khatri at samsung.com>
> Signed-off-by: Rohit Pratap Singh <rohit.s at samsung.com>
> ---

Hi Amit,

merged as https://github.com/thom311/libnl/commit/4c95465987db1ecceea000e9aebd0f83e4bffe42

Thanks!!
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20170901/cf9e85f9/attachment.sig>


More information about the libnl mailing list