You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

freetype-2.3.11-CVE-2010-2805.patch 502B

1234567891011
  1. --- freetype-2.3.11/src/base/ftstream.c 2009-08-03 19:51:40.000000000 +0200
  2. +++ freetype-2.3.11/src/base/ftstream.c 2010-09-30 13:46:08.000000000 +0200
  3. @@ -275,7 +275,7 @@
  4. {
  5. /* check current and new position */
  6. if ( stream->pos >= stream->size ||
  7. - stream->pos + count > stream->size )
  8. + stream->size - stream->pos < count )
  9. {
  10. FT_ERROR(( "FT_Stream_EnterFrame:"
  11. " invalid i/o; pos = 0x%lx, count = %lu, size = 0x%lx\n",