Skip to content
Commit 598f790f authored by Tom Honermann's avatar Tom Honermann Committed by Adhemerval Zanella
Browse files

gconv: Correct Big5-HKSCS conversion to preserve all state bits. [BZ #25744]



This patch corrects the Big5-HKSCS converter to preserve the lowest 3 bits of
the mbstate_t __count data member when the converter encounters an incomplete
multibyte character.

This fixes BZ #25744.

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent 3c998069
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment