freetype2/include/freetype/config
Werner Lemberg 80a507a6b8 Replace `sprintf` with `snprintf`.
Fixes #1233.

* include/freetype/config/ftstdlib.h (ft_sprintf): Replace with...
(ft_snprintf): This new macro.

* src/autofit/afhints.c (af_print_idx): Add argument to pass the buffer
size.
(af_glyph_hints_dump_points, af_glyph_hints_dump_segments,
af_glyph_hints_dump_edges): Updated.

* src/bdf/bdflib.c (BUFSIZE): New macro.
(bdf_parse_properties_, bdf_parse_start_): Use `ft_snprintf`.

* src/tools/ftrandom/ftrandom.c (do_test): Use `snprintf`.
2023-05-23 13:18:01 +02:00
..
ftconfig.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftheader.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
ftmodule.h Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
ftoption.h [truetype] Hide Infinality. 2023-02-17 04:22:24 +00:00
ftstdlib.h Replace `sprintf` with `snprintf`. 2023-05-23 13:18:01 +02:00
integer-types.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
mac-support.h Update all copyright notices. 2023-01-17 09:18:25 +01:00
public-macros.h Update all copyright notices. 2023-01-17 09:18:25 +01:00