mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-03-22 11:40:40 +01:00
* src/sdf/ftsdf.c (sdf_generate_bounding_box): Fix allocation.
Reported in https://mail.gnu.org/archive/html/freetype-devel/2026-02/msg00005.html
This commit is contained in:
parent
264b5fbf5b
commit
bda1d87f69
1 changed files with 1 additions and 1 deletions
|
|
@ -3281,7 +3281,7 @@
|
|||
goto Exit;
|
||||
}
|
||||
|
||||
if ( FT_NEW_ARRAY( dists, bitmap->rows * bitmap->width ) )
|
||||
if ( FT_ALLOC_MULT( dists, bitmap->rows, bitmap->width ) )
|
||||
goto Exit;
|
||||
|
||||
contours = shape->contours;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue