mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-23 05:32:04 +00:00
fix for bug #38955
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36615 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
02a2c4eaff
commit
891d7e0f24
3 changed files with 22 additions and 8 deletions
|
@ -1307,11 +1307,11 @@ tables:
|
|||
GROW();
|
||||
}
|
||||
ptr[dpos] = GSM0338_char_to_uni_table[c];
|
||||
if (c == 0x1b && spos < slen)
|
||||
if (c == 0x1b && spos < slen + 1)
|
||||
{
|
||||
unsigned i = 0;
|
||||
|
||||
c = (unc)src[spos+1];
|
||||
c = (unc)src[spos + 1];
|
||||
while (i < sizeof(GSM0338_escapes)/sizeof(GSM0338_escapes[0]))
|
||||
{
|
||||
if (GSM0338_escapes[i].to == c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue