~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to strings/ctype-ucs2.c

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
2546
2546
  }
2547
2547
  for (; b < e; b+= 4)
2548
2548
  {
2549
 
    if (b[0] || b[1] > 0x10)
 
2549
    /* Don't accept characters greater than U+10FFFF */
 
2550
    if (b[0] || (uchar) b[1] > 0x10)
2550
2551
    {
2551
2552
      *error= 1;
2552
2553
      return b - b0;