]> granicus.if.org Git - musl/commit
fix erroneous acceptance of f4 9x xx xx code sequences by utf-8 decoder
authorRich Felker <dalias@aerifal.cx>
Fri, 1 Sep 2017 21:05:40 +0000 (17:05 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 1 Sep 2017 21:05:40 +0000 (17:05 -0400)
commit39db00afadc9d8d0456c46eab42b8cb8ff9f375c
treed3320be6f357bbd69e2edbe8ad6b106af0b99476
parent11ddc314b57196519316103b02acffe10299dad3
fix erroneous acceptance of f4 9x xx xx code sequences by utf-8 decoder

the DFA table controlling accepted ranges for the f4 prefix used an
incorrect upper bound of 0xa0 where it should have been 0x90, allowing
such sequences to be accepted and decoded as non-Unicode-scalar values
0x110000 through 0x11ffff.
src/multibyte/internal.c