This should be unlikely to happen, but then, resource exhaustion does
happen... and then we shouldn't leak.

Just stared at the code & did a test compile & BB all green :-)

Your patch has been applied to the master and release/2.7 branch (bugfix).

commit 4a6c1db218c71a4c7a8346f7508242a315fb587d (master)
commit 685c12392fa8fa107657066a4077233e1f7206ff (release/2.7)
Author: Razvan Cojocaru
Date:   Mon Nov 2 18:05:25 2026 +0100

     dns: close first pipe if creating the second one fails

     Signed-off-by: Razvan Cojocaru <[email protected]>
     Acked-by: Frank Lichtenheld <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2091
     Message-Id: <[email protected]>
     URL: 
https://lore.kernel.org/openvpn-devel/[email protected]
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to