Tested this on ubuntu 20.04 + DCO -  --client + --management-hold, connect
to mgmt, "bytecount 1", "hold release", boom, SIGSEGV.

v1 looked correct, but checked the wrong variables, so "no SIGSEGV, but
no counters at all anymore", not so good either ;-)  - v2 fixes that,
no crash *and* working counters.  With proper timing.  So really getting
there, after a day staring at manage.c...

Your patch has been applied to the master branch.

commit 14ced61eef89797e606c3b7600adc4da83a336f4
Author: Ralf Lici
Date:   Tue Sep 2 18:45:15 2025 +0200

     dco_linux: validate tun interface before fetching stats

     Signed-off-by: Ralf Lici <r...@mandelbit.com>
     Acked-by: Gert Doering <g...@greenie.muc.de>
     Message-Id: <20250902164521.23145-1-g...@greenie.muc.de>
     URL: 
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32768.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