[Bug 1951432] Re: fail to build from source
Launchpad Bug Tracker
1951432 at bugs.launchpad.net
Wed Nov 24 16:52:21 UTC 2021
This bug was fixed in the package icu - 67.1-6ubuntu2.1
---------------
icu (67.1-6ubuntu2.1) hirsute-security; urgency=medium
* SECURITY UPDATE: Double Free
- debian/patches/CVE-2021-30535-prereq.patch: Fix invalid free when
using long locale name in Locale functions in
source/common/locid.cpp.
- debian/patches/CVE-2021-30535.patch: Fix edge cases with baseName
in setKeywordValue function in source/common/locid.cpp to
prevent double free and protect from heap corruption.
- CVE-2021-30535
* fix failing tests causing build-time failure: (LP: #1951432)
- debian/patches/tzdata-2021b-tests.patch: Fix TestCalendar function
in source/test/cintltst/ccaltst.c and TestGenericAPI in
source/test/intltest/tztest.cpp to accept tz.version with longer
string size to prevent tests from failing.
- debian/patches/skip-tztests.patch: Skip specific Time Zones tests in
TestAliasedNames and TestCanonicalID functions in
source/test/intltest/tztest.cpp. They don't match with data from
updated tzdata and needed to be skiped to prevent tests from failing.
-- Rodrigo Figueiredo Zaiden <rodrigo.zaiden at canonical.com> Thu, 18
Nov 2021 13:51:35 -0300
** Changed in: icu (Ubuntu)
Status: In Progress => Fix Released
** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-30535
** Changed in: icu (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to icu in Ubuntu.
https://bugs.launchpad.net/bugs/1951432
Title:
fail to build from source
Status in icu package in Ubuntu:
Fix Released
Bug description:
When building ICU package from source, Time Zones tests are failing, leading to a build failure.
This is happening because for Ubuntu, ICU uses tzdata package to retrieve Time Zone information
And, tzdata is updated but ICU tests are not.
The tests that are failing are:
1)TestAliasedNames, TestCanonicalID:
TestAliasedNames {
different at 8
} ERRORS (1) in TestAliasedNames
TestCanonicalID {
FAIL: getCanonicalID(America/Coral_Harbour) returned America/Coral_Harbour expected:America/Cayman
FAIL: getCanonicalID(America/Coral_Harbour) returned America/Coral_Harbour expected:America/Cayman
FAIL: getCanonicalID(America/Coral_Harbour) returned America/Coral_Harbour expected:America/Cayman
} ERRORS (3) in TestCanonicalID
-- These does not have a fix in upstream and need to be fixed (hirsute
and focal).
There are other issues that have fixes in upstream and need to be patched:
2) TestGenericAPI
TestGenericAPI {
FAIL: getTZDataVersion returned 2021a3
} ERRORS (1) in TestGenericAPI
-- https://github.com/unicode-org/icu/commit/7561cb28 need to be
patched (hirsute and focal)
3) TestCanonicalID
TestCanonicalID {
FAIL: getCanonicalID(Australia/Hobart) returned Australia/Hobart expected:Australia/Currie
FAIL: getCanonicalID(Australia/Tasmania) returned Australia/Hobart expected:Australia/Currie
FAIL: getCanonicalID(Australia/Hobart) returned Australia/Hobart expected:Australia/Currie
FAIL: getCanonicalID(Australia/Tasmania) returned Australia/Hobart expected:Australia/Currie
FAIL: getCanonicalID(Australia/Hobart) returned Australia/Hobart expected:Australia/Currie
FAIL: getCanonicalID(Australia/Tasmania) returned Australia/Hobart expected:Australia/Currie
} ERRORS (6) in TestCanonicalID
-- https://github.com/unicode-org/icu/commit/25eb1510 need to be
patched (focal)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icu/+bug/1951432/+subscriptions
More information about the foundations-bugs
mailing list