RE: [PATCH v1 1/1] fix: resource leakage when loading library using dlopen

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

 



You meant xtables.c as I couldnt find xtables-main.c or am I looking at wrong repo/branch

________________________________________
From: Jan Engelhardt [jengelh@xxxxxxx]
Sent: 08 September 2015 11:55
To: Zaman, Imran
Cc: netfilter-devel@xxxxxxxxxxxxxxx
Subject: RE: [PATCH v1 1/1] fix: resource leakage when loading library using dlopen

On Tuesday 2015-09-08 09:02, Zaman, Imran wrote:

>Well! I tend to disagree here..
>
>Any resource should be freed immediately if it is not in use..

Yet they are in use until xtables-main.c:78 or so.

>Do you know when is 'ptr' get free'd and at which point in code?

xtables-main.c:93:      exit(!ret)
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux