s/MB_CUR_MAX/MB_LEN_MAX/, and add a test case
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=257
This commit is contained in:
@@ -8,9 +8,11 @@ Tue May 12 09:32:53 UTC 2015 - mail@bernhard-voelker.de
|
||||
Tue May 12 08:56:13 UTC 2015 - mail@bernhard-voelker.de
|
||||
|
||||
- Fix memory handling error with case insensitive sort using UTF-8
|
||||
(boo#928749):
|
||||
* coreutils-i18n.patch: Allocate more memory as the upper form of
|
||||
some multi-byte characters may be 1 byte wider.
|
||||
(boo#928749): coreutils-i18n.patch
|
||||
src/sort.c (keycompare_mb): Ensure the buffer is big enough
|
||||
to handle anything output from wctomb(). Theoretically any
|
||||
input char could be converted to multiple output chars,
|
||||
and so we need to multiply the storage by MB_LEN_MAX.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 7 18:18:31 UTC 2015 - crrodriguez@opensuse.org
|
||||
|
Reference in New Issue
Block a user