Good find. Arguably this is a bug, even if in the "unlikely to ever happen"
category, so backported to release/2.7 (without the cppcheck file).
Mildy tested on FreeBSD 14 + DCO (... after repairing the t_server setup).
Your patch has been applied to the master and release/2.7 branch.
commit fcc34b135222edf3d53976f406f8db19c19294c0 (master)
commit 1a15b3fa51537592bfda1ea588e28f73ded39caf (release/2.7)
Author: Frank Lichtenheld
Date: Thu May 7 09:53:15 2026 +0200
dco_freebsd: Add check_malloc_return after realloc
Signed-off-by: Frank Lichtenheld <[email protected]>
Acked-by: Gert Doering <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1669
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg36842.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