* src/smooth/ftsmooth.c (ft_smooth_raster_overlap): Limit width.
Segmentation fault reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24729
This commit is contained in:
parent
cdc009c24a
commit
6730854c39
|
@ -1,3 +1,11 @@
|
||||||
|
2020-08-25 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||||
|
|
||||||
|
* src/smooth/ftsmooth.c (ft_smooth_raster_overlap): Limit width.
|
||||||
|
|
||||||
|
Segmentation fault reported as
|
||||||
|
|
||||||
|
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24729
|
||||||
|
|
||||||
2020-08-22 Werner Lemberg <wl@gnu.org>
|
2020-08-22 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* src/truetype/ttgload.c (TT_Get_VMetrics): Add tracing message.
|
* src/truetype/ttgload.c (TT_Get_VMetrics): Add tracing message.
|
||||||
|
|
|
@ -379,6 +379,11 @@
|
||||||
TOrigin target;
|
TOrigin target;
|
||||||
|
|
||||||
|
|
||||||
|
/* Reject outlines that are too wide for 16-bit FT_Span. */
|
||||||
|
/* Other limits are applied upstream with the same error code. */
|
||||||
|
if ( bitmap->width * SCALE > 0x7FFF )
|
||||||
|
return FT_THROW( Raster_Overflow );
|
||||||
|
|
||||||
/* Set up direct rendering to average oversampled spans. */
|
/* Set up direct rendering to average oversampled spans. */
|
||||||
params.target = bitmap;
|
params.target = bitmap;
|
||||||
params.source = outline;
|
params.source = outline;
|
||||||
|
|
Loading…
Reference in New Issue