freetype2/include/freetype/internal
Ben Wagner 8154d8e2be [services] FT_Size_Reset_Func to return FT_Error
The `MetricsVariations` `FT_Size_Reset_Func` is currently defined to
return `void`, but the implementations return `FT_Error`. Even though
the pointers passed will be the same at runtime, calling a function
through a pointer of a different type from the original function pointer
type is undefined behavior. This may be caught at runtime by Control
Flow Integrity with something like clang's `cfi-icall`.

Issue: https://crbug.com/1433651

* include/freetype/internal/services/svmetric.h (FT_Size_Reset_Func):
return `FT_Error` instead of `void`.
2023-04-19 13:48:59 -04:00
..
services [services] FT_Size_Reset_Func to return FT_Error 2023-04-19 13:48:59 -04:00
autohint.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
cffotypes.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
cfftypes.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
compiler-macros.h * include/freetype/internal/compiler-macros.h (FALL_THROUGH): Update. 2023-03-01 06:36:59 +01:00
ftcalc.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftdebug.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftdrv.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftgloadr.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
fthash.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftmemory.h Avoid reserved identifiers that are globally defined. 2023-02-08 21:09:30 +01:00
ftmmtypes.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftobjs.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftpsprop.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftrfork.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftserv.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftstream.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
fttrace.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftvalid.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
psaux.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
pshints.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
sfnt.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
svginterface.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
t1types.h Comment on optional ascender and descender. 2023-02-04 09:47:44 -05:00
tttypes.h [sfnt, truetype] Add `size_reset` to `MetricsVariations`. 2023-04-11 10:20:58 +02:00
wofftypes.h Update all copyright notices. 2023-01-17 09:18:25 +01:00