Well spotted... on the first glance, this was like "uh, would that be
safe?  what if anything else relies on gc_owned?", but on more thorough
reading it's really as you say - all callers pass "true", and this field
is not used anywhere ever again ("confirmed by grep and buildbot" ;-) ).

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

commit 92937c267b20e3e1ffd4e0e80d8048a57da7edb6 (master)
commit acbe874c71444afffa2238a0b8b45d330b78f86c (release/2.7)
Author: Antonio Quartulli
Date:   Tue Feb 17 14:56:05 2026 +0100

     options: drop useless init_gc param for init_options()

     Signed-off-by: Antonio Quartulli <[email protected]>
     Acked-by: Frank Lichtenheld <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1536
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg35695.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