Re: [Openvpn-devel] [PATCH v2] block-dns using iservice: fix a potential double free

2023-02-01 Thread Lev Stipakov
Hi, Stared at the code and tested with/without Citrix DME (which caused crash) - code is now cleaner (add/delete separation) and no crash anymore. Next we will fix the driver :) Acked-by: Lev Stipakov ___ Openvpn-devel mailing list Openvpn-devel@list

[Openvpn-devel] [PATCH v2] block-dns using iservice: fix a potential double free

2023-02-01 Thread selva . nair
From: Selva Nair - An item added to undo-list was not removed on error, causing attempt to free again in Undo(). Also fix a memory leak possibility in the same context. Github: fixes OpenVPN/openvpn#232 v2: Split add and delete functions and reuse the delete function for cleanup. Signed-of