[PATCH] Potential memory leak in pktloc.c

Thomas Haller thaller at redhat.com
Thu Dec 17 23:44:58 PST 2015


On Thu, 2015-12-17 at 10:33 +0530, Rahul Jain wrote:
> From: Amit Khatri <amit.khatri at samsung.com>
> 
> In scneario, where file modification time is unchanged, code is
> returning 0
> form read_pktlocs(). It causes memory leak for path variable. 
> Memory for this variable is allocated inside build_sysconf_path() 
> by asprintf() function.
> 

merged as:
https://github.com/thom311/libnl/commit/eccca1acfc7242136256185746d93ec7bd10be82


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


More information about the libnl mailing list