Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

freetype-2.3.11-CVE-2012-1141.patch 545B

1234567891011121314151617
  1. --- freetype-2.3.11/src/bdf/bdflib.c 2012-03-28 11:53:32.000000000 +0200
  2. +++ freetype-2.3.11/src/bdf/bdflib.c 2012-03-28 11:54:12.000000000 +0200
  3. @@ -520,6 +520,14 @@
  4. /* Initialize the list. */
  5. list->used = 0;
  6. + if ( list->size )
  7. + {
  8. + list->field[0] = (char*)empty;
  9. + list->field[1] = (char*)empty;
  10. + list->field[2] = (char*)empty;
  11. + list->field[3] = (char*)empty;
  12. + list->field[4] = (char*)empty;
  13. + }
  14. /* If the line is empty, then simply return. */
  15. if ( linelen == 0 || line[0] == 0 )