mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix boundary error removing percent escapes
This commit is contained in:
parent
4bc622bafd
commit
ebaf23e295
1 changed files with 1 additions and 1 deletions
|
@ -1958,7 +1958,7 @@ GSICUCollatorOpen(NSStringCompareOptions mask, NSLocale *locale)
|
|||
{
|
||||
char c = s[index];
|
||||
|
||||
if ('%' == c && index < lastPercent)
|
||||
if ('%' == c && index <= lastPercent)
|
||||
{
|
||||
uint8_t hi = s[index+1];
|
||||
uint8_t lo = s[index+2];
|
||||
|
|
Loading…
Reference in a new issue