mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-22 05:37:44 +01:00
* fix infinite loop when the utf-8 -> utf-32 converter encounters an invalid
utf-8 sequence/byte git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37479 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5f114e19ea
commit
1e5b315f7e
@ -2174,6 +2174,7 @@ yylex ()
|
||||
default:
|
||||
warning ("Skipping invalid UTF-8 byte in wide char "
|
||||
"string literal");
|
||||
c = GETC ();
|
||||
continue;
|
||||
}
|
||||
for (i = 1; i < len; ++i)
|
||||
|
@ -4290,6 +4290,7 @@ real_yylex ()
|
||||
default:
|
||||
warning ("Skipping invalid UTF-8 byte in wide char "
|
||||
"string literal");
|
||||
c = getch ();
|
||||
continue;
|
||||
}
|
||||
for (i = 1; i < len; ++i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user