forked from minhngoc25a/freetype2
[pcf] Fix a bug in the nprops truncation, Gentoo bug #288357.
This commit is contained in:
parent
19dfcbd2a4
commit
008686a123
|
@ -1,3 +1,9 @@
|
|||
2009-10-10 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
* src/pcf/pcfread.c (pcf_get_properties): Fix a bug in the nprops
|
||||
truncation. Reported by Martin von Gagern and Peter Volkov.
|
||||
https://bugs.gentoo.org/288357 and https://bugs.gentoo.org/288256
|
||||
|
||||
2009-10-06 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* Version 2.3.10 released.
|
||||
|
|
|
@ -436,7 +436,7 @@ THE SOFTWARE.
|
|||
FT_TRACE4(( " nprop = %d (truncate %d props)\n",
|
||||
(int)nprops, nprops - (int)nprops ));
|
||||
|
||||
nprops = nprops - (int)nprops;
|
||||
nprops = (int)nprops;
|
||||
|
||||
/* rough estimate */
|
||||
if ( nprops > size / PCF_PROPERTY_SIZE )
|
||||
|
|
Loading…
Reference in New Issue