Thanks for the report and the patch.  Heiko has formally reviewed it, and
our buildbot framework has tested that all --dns using tests still work.

Antonio remarked that the "overflow" test could be moved further to the
start of the function - no need for all the address arithmetics if we
already know we're full.  But that's an optimization / beautification
we can do independently of this mem-leak fix.

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

commit 154e8a520b3bd639fb137c1ba73ce8a80818d08d (master)
commit 7f1d68ae651b0dece0044b19376bf8ed8213e764 (release/2.7)
Author: saddamr3e
Date:   Thu Jun 18 08:18:28 2026 +0200

     dns: Fix memory leak in dns_server_addr_parse

     Signed-off-by: saddamr3e <[email protected]>
     Acked-by: Heiko Hund <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1712
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg37209.html
     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