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-2012-1137.patch 541B

1234567891011
  1. --- freetype-2.3.11/src/bdf/bdflib.c 2012-03-28 10:46:09.000000000 +0200
  2. +++ freetype-2.3.11/src/bdf/bdflib.c 2012-03-28 10:45:50.000000000 +0200
  3. @@ -424,7 +424,7 @@
  4. if ( num_items > list->size )
  5. {
  6. unsigned long oldsize = list->size; /* same as _bdf_list_t.size */
  7. - unsigned long newsize = oldsize + ( oldsize >> 1 ) + 4;
  8. + unsigned long newsize = oldsize + ( oldsize >> 1 ) + 5;
  9. unsigned long bigsize = (unsigned long)( FT_INT_MAX / sizeof ( char* ) );
  10. FT_Memory memory = list->memory;