[PATCH 10/13] idiag: fix idiagnl_msg_clone()

Thomas Graf tgraf at suug.ch
Mon Nov 24 09:15:50 PST 2014


On 11/24/14 at 05:14pm, Thomas Haller wrote:
> For one, we did not clone all pointer value. Hence, every cloned
> object would result in a double free/unref.
> 
> Also, in case of NLE_NOMEM, we would also free the fields
> owned by src.
> 
> Signed-off-by: Thomas Haller <thaller at redhat.com>

Acked-by: Thomas Graf <tgraf at suug.ch>



More information about the libnl mailing list