ITAGAKI Takahiro <[EMAIL PROTECTED]> wrote:
> I found wrong definitions of max bytes for a char in
> EUC_CN (3->2), EUC_TW (3->4) and MULE_INTERNAL (3->4).
Also, the length of a char in GB18030 could be 4,
though GB18030 is not supported as a server encoding.
- {0, pg_gb18030_mblen, pg_gb
Hello,
I found wrong definitions of max bytes for a char in
EUC_CN (3->2), EUC_TW (3->4) and MULE_INTERNAL (3->4).
Especially, EUC_TW and MULE_INTERNAL might cause problems.
Their pg_*_mblen could have returned values larger than their maxmblen.
I'm worrying that it leads buffer overrun.
Index: