* src/smooth/ftsmooth.c (ft_smooth_render_generic): Remove
unrequired negative value check for `width' and `height'.
This commit is contained in:
parent
dd3fee072c
commit
2676e07aa4
@ -1,3 +1,8 @@
|
||||
2014-11-27 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
* src/smooth/ftsmooth.c (ft_smooth_render_generic): Remove
|
||||
unrequired negative value check for `width' and `height'.
|
||||
|
||||
2014-11-27 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/tools/docmaker/tohtml.py: More HTML table refactoring.
|
||||
|
@ -214,8 +214,7 @@
|
||||
|
||||
/* Required check is (pitch * height < FT_ULONG_MAX), */
|
||||
/* but we care realistic cases only. Always pitch <= width. */
|
||||
if ( width < 0 || width > 0x7FFF ||
|
||||
height < 0 || height > 0x7FFF )
|
||||
if ( width > 0x7FFF || height > 0x7FFF )
|
||||
{
|
||||
FT_ERROR(( "ft_smooth_render_generic: glyph too large: %u x %u\n",
|
||||
width, height ));
|
||||
|
Loading…
Reference in New Issue
Block a user