mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Update.
1999-07-25 Ulrich Drepper <drepper@cygnus.com> * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
This commit is contained in:
parent
bd805dba0e
commit
788e8e7c22
@ -1,3 +1,8 @@
|
||||
1999-07-25 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
|
||||
of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
|
||||
|
||||
1999-07-24 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
|
||||
|
@ -33,6 +33,8 @@ euckr_from_ucs4 (uint32_t ch, unsigned char *cp)
|
||||
cp[0] |= 0x80;
|
||||
cp[1] |= 0x80;
|
||||
}
|
||||
else
|
||||
cp[0] = '\0';
|
||||
}
|
||||
/* XXX Think about 0x5c ; '\'. */
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user