#1143682 openvpn3-client: FTBFS: ../openvpn3-core/openvpn/common/unicode-impl.hpp:596:47: error: array subscript 6 is above array bounds of 'const openvpn::Unicode::UTF32 [6]' {aka 'const unsigned int [6]'} [-Werror=array-bounds=] #1143682
- Package:
- src:openvpn3-client
- Source:
- src:openvpn3-client
- Submitter:
- Santiago Vila
- Date:
- 2026-08-14 13:21:01 UTC
- Severity:
- normal
- Tags:
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:openvpn3-client, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] [91/246] c++ -Isrc/client/openvpn3-service-client.p -Isrc/cl [too-long-redacted] ent/openvpn3-service-client.cpp FAILED: [code=1] src/client/openvpn3-service-client.p/openvpn3-service-client.cpp.o c++ -Isrc/client/openvpn3-service-client.p -Isrc/client -I.. [too-long-redacted] ent/openvpn3-service-client.cpp In file included from ../openvpn3-core/openvpn/common/unicode.hpp:25, from ../openvpn3-core/openvpn/common/options.hpp:56, from ../openvpn3-core/openvpn/tun/tunmtu.hpp:15, from ../src/client/core-client.hpp:40, from ../src/client/openvpn3-service-client.cpp:60: ../openvpn3-core/openvpn/common/unicode-impl.hpp: In function ‘openvpn::Unicode::ConversionResult openvpn::Unicode::ConvertUTF8toUTF16(const UTF8**, const UTF8*, UTF16**, UTF16*, ConversionFlags)’: ../openvpn3-core/openvpn/common/unicode-impl.hpp:596:47: error: array subscript 6 is above array bounds of ‘const openvpn::Unicode::UTF32 [6]’ {aka ‘const unsigned int [6]’} [-Werror=array-bounds=] 596 | ch -= offsetsFromUTF8[extraBytesToRead]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ../openvpn3-core/openvpn/common/unicode-impl.hpp:171:17: note: while referencing ‘openvpn::Unicode::offsetsFromUTF8’ 171 | const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL, | ^~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors [92/246] c++ -Isrc/netcfg/openvpn3-service-netcfg.p -Isrc/ne [too-long-redacted] -c ../src/netcfg/netcfg-dco.cpp ninja: build stopped: subcommand failed. dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1 make: *** [debian/rules:10: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
We believe that the bug you reported is fixed in the latest version of
openvpn3-client, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1143682@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marc Leeman <marc.leeman@gmail.com> (supplier of updated openvpn3-client package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 14 Aug 2026 14:49:08 +0200
Source: openvpn3-client
Architecture: source
Version: 27.1+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Marc Leeman <marc.leeman@gmail.com>
Changed-By: Marc Leeman <marc.leeman@gmail.com>
Closes: 1143682
Changes:
openvpn3-client (27.1+dfsg-2) unstable; urgency=medium
.
* d/patches: boundary checks on ConvertUTF8toUTF16/ConvertUTF8toUTF32Impl
(Closes: #1143682)
Checksums-Sha1:
9bc58f084ff8a1dc054b45ca12be70ff60fa18c3 2402 openvpn3-client_27.1+dfsg-2.dsc
933bef8cca22b8db58bdc8fe115b1759d440b248 23796 openvpn3-client_27.1+dfsg-2.debian.tar.xz
941d81bdbb5a9a25e3dd782f3ba50a074bff6562 9637 openvpn3-client_27.1+dfsg-2_source.buildinfo
Checksums-Sha256:
a3e74c434b36943190c93fb5ab6ff759af9b63ee0d7005e0a9ce0bddd49e8283 2402 openvpn3-client_27.1+dfsg-2.dsc
76b3dbbfec178a2f3e922e834e0feb0cad8f3d35b03ae6237cc925ec3e733bb4 23796 openvpn3-client_27.1+dfsg-2.debian.tar.xz
4c2b7b02511d04281c1621c78680c710291706948c708eb9cc4974bd76e4dc7e 9637 openvpn3-client_27.1+dfsg-2_source.buildinfo
Files:
5fef47a7e416c16ac28bffb4a008d92d 2402 net optional openvpn3-client_27.1+dfsg-2.dsc
47df9c4d1df4bd67a82a388ab58c7380 23796 net optional openvpn3-client_27.1+dfsg-2.debian.tar.xz
63bee47dcc3557db58bfaa8798c97b9c 9637 net optional openvpn3-client_27.1+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJKBAEBCgA0FiEEgnz9dLpGgVKgQfOgempPF1mVplsFAmp/ERkWHG1hcmMubGVl
bWFuQGdtYWlsLmNvbQAKCRB6ak8XWZWmW9pWD/9zIb+VQ9uYjhvk98ZDnAMbB54K
hWusRoEvL2G89tRBXyYhdZLBfu9hz8FIF53+u24tEmuAwQJYGrqUX6oxuDLVHWY+
zxqzru4vVIUVDHMGFaDAM0oW0yyMgND1Gbp7rrRIeeh2h/Vi5kG7d1WaJrILyw5w
KW79qdSseOYX+iUHcZwdBcOpzCH4duvHT5ZdTJ29P+sg5G0VrkRVSeVcT/I74K4Q
tPJsDGtA1p6RYyMnP7RIZPRp224BBBQcl19qvOrGSkoPFA0bqaGhDATI3+e0ed/S
G065YeV38rV6u4OSYKPoFNwFdN6+FgXzWaROYUQuXqHP+ySGB+4OyozVWWGGOwYB
1S22dSp68VB8fDo3dBWNyKoRRQhyd7tzyy74tsDyiQQMPsXBq7kzYXjAHyEVcLu+
4XKRXnqO/5kskXldfCoxBo2KIu4OOmcj5JTFJOF/9jDqiVq5oXINP7ZV5IAKTmTx
/651fBoufksR4U7fJvQBV1C3A0RGSdlvtkPHC9rL3jh4MXhVnU7AZV3rbHWMSqlT
VIU8R65ZkK7IZ4XO6XsCrpjveoQdFTAlxK+HnSLG6b8WODBQEct4JEqHqKOxzcVF
owYdf56VP15EH32V3n5n4im6AocgWLwOeN3wWzvFXLpWTOma4CvUfWlP6doeCnU8
gfiga5o/TTHduCcc6Q==
=YeQb
-----END PGP SIGNATURE-----