Confirmed, according to microsoft documentation

"[in, out, optional] pcbData

 A pointer to a variable that specifies the size of the buffer pointed
 to by the pvData parameter, in bytes. When the function returns,
 this variable contains the size of the data copied to pvData."

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

commit 2509ba899f8753f7f1d74812214f2847f9e7daaa (master)
commit bc0351235810e6417e95d6d209c17e1026496677 (release/2.7)
Author: Heiko Hund
Date:   Tue Oct 27 14:00:49 2026 +0100

     win32: pass the buffer size in bytes to get_openvpn_reg_value()

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