Skip to content
Snippets Groups Projects
Commit 0d99c953 authored by Tom Lane's avatar Tom Lane
Browse files

Correct potential infinite loop in pg_utf2wchar_with_len;

it failed to cover the case where high bits of char are 100 or 101.
Not sure if fix is right, but it agrees with pg_utf_mblen ... and it
doesn't lock up ...
parent 2acfc4f6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment