Acked-by: Gert Doering <g...@greenie.muc.de>

This was an oversight by me, when initially implementing this - the
intention was always "cap the IPv6 pool size at 2^16", not "let it
grow until 2^31 and then cap to 2^16 thereafter".  It did no harm, 
as the IPv6 pool was always limited by IPv4 pool size (which is capped
to 2^16) - but with the "there can can be an IPv6-only pool now" 
work, this could lead to interesting malloc() explosions.

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

commit 81d66a1f14d4be3282dd648ecc2049658e3a65ed (master)
commit fc0297143494e0a0f08564d90dbb210669d0abf5 (release/2.4)
Author: Antonio Quartulli
Date:   Sat May 30 02:05:54 2020 +0200

     pool: prevent IPv6 pools to be larger than 2^16 addresses

     Signed-off-by: Antonio Quartulli <a...@unstable.cc>
     Acked-by: Gert Doering <g...@greenie.muc.de>
     Message-Id: <20200530000600.1680-...@unstable.cc>
     URL: 
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19945.html
     Signed-off-by: Gert Doering <g...@greenie.muc.de>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to