選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

freetype-2.3.11-CVE-2010-2520.patch 556B

12345678910111213
  1. --- freetype-2.3.11/src/truetype/ttinterp.c 2009-07-31 18:45:19.000000000 +0200
  2. +++ freetype-2.3.11/src/truetype/ttinterp.c 2010-07-15 14:44:23.000000000 +0200
  3. @@ -6466,8 +6466,8 @@
  4. end_point = CUR.pts.contours[contour] - CUR.pts.first_point;
  5. first_point = point;
  6. - if ( CUR.pts.n_points <= end_point )
  7. - end_point = CUR.pts.n_points;
  8. + if ( BOUNDS ( end_point, CUR.pts.n_points ) )
  9. + end_point = CUR.pts.n_points - 1;
  10. while ( point <= end_point && ( CUR.pts.tags[point] & mask ) == 0 )
  11. point++;