forked from pool/coreutils
- 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. OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=255
This commit is contained in:
parent
060558900d
commit
d20c1f8965
@ -3261,8 +3261,8 @@ Index: src/sort.c
|
||||
+
|
||||
+ if (ignore || translate)
|
||||
+ {
|
||||
+ char *copy_a = (char *) xmalloc (lena + 1 + lenb + 1);
|
||||
+ char *copy_b = copy_a + lena + 1;
|
||||
+ char *copy_a = (char *) xmalloc((lena + lenb) * MB_CUR_MAX + 2);
|
||||
+ char *copy_b = copy_a + (lena * MB_CUR_MAX) + 1;
|
||||
+ size_t new_len_a, new_len_b;
|
||||
+ size_t i, j;
|
||||
+
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 7 18:18:31 UTC 2015 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 7 18:18:31 UTC 2015 - crrodriguez@opensuse.org
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user