[Bug 1918456] Re: test failure - invalid conversion on armhf
Launchpad Bug Tracker
1918456 at bugs.launchpad.net
Wed Mar 17 15:14:18 UTC 2021
This bug was fixed in the package iniparser - 4.1-4ubuntu2
---------------
iniparser (4.1-4ubuntu2) hirsute; urgency=medium
* Genericize long int tests to accomodate where sizeof(long int) != 8
(LP: #1918456)
iniparser (4.1-4ubuntu1) hirsute; urgency=medium
* Change tests so that a test failure will stop the build (LP: #1915866)
* Improvements to build steps such that objects from test get cleaned up
* Incorporate upstream commit 2412f165bcfde4ad8e3426fd59f2a920492b8c19 from
PR #104 to address likely 1 byte stack buffer overflow
(thanks Edik Ponomarenko)
-- Dan Bungert <daniel.bungert at canonical.com> Tue, 16 Mar 2021
11:42:53 -0600
** Changed in: iniparser (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1918456
Title:
test failure - invalid conversion on armhf
Status in iniparser package in Ubuntu:
Fix Released
Bug description:
The following armhf test failure has been observed:
1) Test_iniparser_getlongint: test_iniparser.c:385: expected <-1> but was <2147483647>
Some of the warnings may also be relevant:
test_iniparser.c:353:9: warning: integer constant is too large for ‘long’ type [-Wlong-long]
353 | { 0x7FFFFFFFFFFFFFFF, "0x7FFFFFFFFFFFFFFF" },
| ^
test_iniparser.c:353:11: warning: overflow in conversion from ‘long long int’ to ‘long int’ changes value from ‘9223372036854775807’ to ‘-1’ [-Woverflow]
353 | { 0x7FFFFFFFFFFFFFFF, "0x7FFFFFFFFFFFFFFF" },
| ^~~~~~~~~~~~~~~~~~
test_iniparser.c:354:9: warning: integer constant is too large for ‘long’ type [-Wlong-long]
354 | { -0x7FFFFFFFFFFFFFFF, "-0x7FFFFFFFFFFFFFFF" },
| ^
... [ several more like this follow ]
https://launchpadlibrarian.net/527109834/buildlog_ubuntu-hirsute-
armhf.iniparser_4.1-4ubuntu1_BUILDING.txt.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iniparser/+bug/1918456/+subscriptions
More information about the Ubuntu-sponsors
mailing list