Peter Krefting writes:
> brian m. carlson:
>
>> +/* U+FFFE and U+ are guaranteed non-characters. */
>> +if ((codepoint & 0x1e) == 0xfffe)
>> +return bad_offset;
>
> I missed this the first time around: All Unicode characters whose
> lower 16-bit
brian m. carlson:
+ /* U+FFFE and U+ are guaranteed non-characters. */
+ if ((codepoint & 0x1e) == 0xfffe)
+ return bad_offset;
I missed this the first time around: All Unicode characters whose
lower 16-bits are FFFE or are non-ch
On Thu, Jul 04, 2013 at 09:58:08PM +0200, Torsten Bögershausen wrote:
> On 2013-07-04 19.19, brian m. carlson wrote:
> > The commit code already contains code for validating UTF-8, but it does not
> > check for invalid values, such as guaranteed non-characters and surrogates.
> > Fix
> s/guarante
On 2013-07-04 19.19, brian m. carlson wrote:
> The commit code already contains code for validating UTF-8, but it does not
> check for invalid values, such as guaranteed non-characters and surrogates.
> Fix
s/guaranteed non-characters/code points out of range/
> this by explicitly checking for an
4 matches
Mail list logo