gecko-dev/intl
Julian Seward d71b143fb3 Bug 1808182 - Use of uninitialised values originating from NS_GetComplexLineBreaks (in nsPangoBreaker.cpp). r=jfkthame.
NS_GetComplexLineBreaks (in nsPangoBreaker.cpp) adds elements of type
`PangoLogAttr` to an array with `attrBuffer.AppendElements(aLength + 1);`.
However, `PangoLogAttr` doesn't have a default constructor, so those elements
are uninitialised, and that eventually leaks back to the the caller,
`ComplexBreaker::GetBreaks` and are used in a couple of different places after
that.  This patch fixes that by manually zeroing out the new area.

Differential Revision: https://phabricator.services.mozilla.com/D165846
2023-01-03 10:40:34 +00:00
..
benchmarks Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop 2022-08-03 11:16:20 +00:00
build
components Bug 1806042 - Update tests to expect normal spaces rather than U+202F/2009 in formatted date/time strings. r=gregtatum 2022-12-24 10:35:10 +00:00
docs Bug 1446164 - Migrate formautofill edit dialogs to Fluent. r=sgalich,fluent-reviewers,flod 2022-09-01 20:35:37 +00:00
encoding_glue Bug 1701828 - meta charset rewrite. r=smaug 2021-12-08 11:34:20 +00:00
gtest Bug 1603127 - Replaced mozilla::Tuple with std::tuple and applied structured bindings in mozilla/Encoding.h. r=hsivonen 2021-11-08 08:14:00 +00:00
hyphenation Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
icu Bug 1792775 - Part 2: Update in-tree ICU to 72. r=platform-i18n-reviewers,dminor 2022-11-23 17:56:04 +00:00
icu-patches Bug 1792775 - Part 1: Update or remove ICU patches. r=platform-i18n-reviewers,dminor 2022-11-23 17:56:03 +00:00
l10n Bug 1807899 - Remove the trailing whitespace and Windows CR on md files r=linter-reviewers,necko-reviewers,marco,jesup 2022-12-30 15:23:21 +00:00
locale Bug 1803914 - Automatically replace Cu.reportError with console.error (misc). r=mossop 2022-12-06 14:34:57 +00:00
locales no bug - remove +x on dic files r=platform-i18n-reviewers,jfkthame DONTBUILD 2022-12-30 18:46:07 +00:00
lwbrk Bug 1808182 - Use of uninitialised values originating from NS_GetComplexLineBreaks (in nsPangoBreaker.cpp). r=jfkthame. 2023-01-03 10:40:34 +00:00
strres Bug 1797506 - Add EnsureAndLoadStringBundle to preload the string bundle on main thread. r=kmag 2022-12-12 13:25:09 +00:00
tzdata Bug 1803516: Update time zone data to tzdata2022g. r=platform-i18n-reviewers,gregtatum 2022-12-01 14:05:39 +00:00
uconv Bug 1797840: Replace stray tab characters with spaces in IDL files throughout the tree. r=mccr8,necko-reviewers,credential-management-reviewers,smaug,sgalich,valentin 2022-10-28 18:08:17 +00:00
unicharutil Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
Encoding.h Bug 1603127 - Replaced mozilla::Tuple with std::tuple and applied structured bindings in mozilla/Encoding.h. r=hsivonen 2021-11-08 08:14:00 +00:00
EncodingDetector.h
ICU4X.md Bug 1736907 - Add a build flag to experimentally build with ICU4X static data; r=platform-i18n-reviewers,dminor 2021-11-16 15:09:09 +00:00
icu_sources_data.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
moz.build Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk 2021-06-21 12:09:01 +00:00
update-icu.sh Bug 1792775 - Part 1: Update or remove ICU patches. r=platform-i18n-reviewers,dminor 2022-11-23 17:56:03 +00:00
update-icu4x.sh Bug 1736907 - Add a build flag to experimentally build with ICU4X static data; r=platform-i18n-reviewers,dminor 2021-11-16 15:09:09 +00:00
update-tzdata.sh