Public bug reported:
openrct2 0.4.31+ds-1 FTBFS in resolute on amd64v3
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 1; bool TDigitSep = true; T = short unsigned int]’
at /<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 1; bool TDigitSep = true; T = short unsigned int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 2; bool TDigitSep = true; T = short unsigned int]’
at /<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 2; bool TDigitSep = true; T = short unsigned int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
** Affects: openrct2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64v3 ftbfs update-excuse
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142106
Title:
openrct2: FTBFS in resolute (amd64v3)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openrct2/+bug/2142106/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs