commit | c04f9f1c01d1f36d8c47fdc0e233d253014d236d | [log] [tgz] |
---|---|---|
author | Tobias Stoeckmann <tobias@stoeckmann.org> | Sat Jan 19 16:54:18 2019 +0100 |
committer | Steven R. Loomis <srl295@gmail.com> | Wed Feb 13 10:22:56 2019 -0800 |
tree | 5667d4f8f8264d5d62d2be5e6dedb85c9a68aec0 | |
parent | d2d8f0ec8f4a2d230a0d8b63e1aeeafc13e7e2b0 [diff] |
ICU-20363 Out of boundary write on empty file. If gencnval encounters an empty input file the function resolveAlias triggers an out of boundary write due to uniqueAliasArr pointing to a 0 byte reserved memory address. This patch protects the code in question with a check for knownAliasesCount being not 0. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.
Build | Status |
---|---|
TravisCI | |
Win x64 Release | |
Win x86 Release |
icu4c/
ICU for C/C++icu4j/
ICU for Javatools/
Toolsvendor/
Vendor dependenciesPlease see ./icu4c/LICENSE (C and J are under an identical license file.)
Copyright © 2016 and later Unicode, Inc. and others. All Rights Reserved. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. Terms of Use and License