Official mirror of https://gitlab.freedesktop.org/freetype/freetype
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tag:
Branch:
Tree:
0e7b9f864f
1076-regression-ft_render_glyph-returns-error-when-trying-to-render-bitmap-otb-fonts
1100-sdf-improvements
1100-sdf-precision-improvement
2.6.5
BRANCH-2-1-5
CACHE
GSoC-2017-ewaldhew
GSoC-2017-ewaldhew-wip
GSoC-2017-kushal
GSoC-2018-nikhil
GSoC-2018-parth
GSoC-2019-moazin
GSoC-2019-nikhil
GSoC-2020-anuj
GSoC-2020-greg
GSoC-2020-priyesh
GSoC-2023-Ahmet
Harmony
LAYOUT
OpenType-1.8
RGB
VER-2-0-4-PATCH
adjust
anuj-distance-field
apodtele-master-patch-38950
apodtele-master-patch-56869
apodtele-master-patch-68578
arv-test
arv-testing
arv-work
autohinter-properties
bitmap_convert
check-deprecated-warning-for-macosx
cmakelists-updates
cmap32
color
david-pic-changes
dbgmem-more-limiters
div-by-zero
ewaldhew-cleaned
ewaldhew-wip
fix-sdf-squared-distances
fix-x86_32.x86-compilation
gsoc-2023-ahmet-final
gsoc-anurag-2022
gsoc-anurag-2022-docs
gsoc-anurag-2022-final
gsoc-anurag-2023
gsoc-anurag-2023-docs-final
gsoc-anurag-2023-final
gsoc-anurag-docs-2023
gsoc-craig-2023
gsoc-craig-2023-final
hdmx-advances
hooks-via-module-property
int-not32-changes
int-not32-changes-2017
internal-zlib-update
master
msbuild-ci
msbuild-test
ot-svg-clean
parthw-cleaned
parthw-pk-vf
parthw-wip
priyesh_LogLibrary
remove_sse2
slot-inflate
smooth_malloc
truetype-mm
unclamp
unsigned-revisions
update-zlib-sources
wl/colr
wl/meson-logging
BETA-5
BETA-6
BETA-7
BETA-8
CACHE-STEP-1
CACHE-STEP-2
DATE-050920
PRE-2-0-1
PRE-2-0-6
RELEASE-2-0
TEST-2-0-9
VER-2-0
VER-2-0-1
VER-2-0-2
VER-2-0-2-TEST
VER-2-0-3
VER-2-0-4
VER-2-0-5
VER-2-0-6
VER-2-0-7
VER-2-0-8
VER-2-0-9
VER-2-1-0
VER-2-1-1
VER-2-1-1-RC1
VER-2-1-10
VER-2-1-2
VER-2-1-2-RC1
VER-2-1-3
VER-2-1-3-RC1
VER-2-1-3-RC2
VER-2-1-3-RC3
VER-2-1-4
VER-2-1-4-RC1
VER-2-1-4-RC2
VER-2-1-5
VER-2-1-5-RC1
VER-2-1-5-RC2
VER-2-1-6
VER-2-1-7
VER-2-1-8
VER-2-1-8-RC1
VER-2-1-9
VER-2-10-0
VER-2-10-1
VER-2-10-2
VER-2-10-3
VER-2-10-4
VER-2-11-0
VER-2-11-1
VER-2-12-0
VER-2-12-1
VER-2-13-0
VER-2-13-1
VER-2-13-2
VER-2-13-3
VER-2-2-0
VER-2-2-0-RC1
VER-2-2-0-RC2
VER-2-2-0-RC3
VER-2-2-0-RC4
VER-2-2-1
VER-2-3-0
VER-2-3-0-FINAL
VER-2-3-0-RC1
VER-2-3-0-RC2
VER-2-3-1
VER-2-3-1-FINAL
VER-2-3-10
VER-2-3-11
VER-2-3-12
VER-2-3-2
VER-2-3-3
VER-2-3-4
VER-2-3-5
VER-2-3-5-REAL
VER-2-3-6
VER-2-3-7
VER-2-3-8
VER-2-3-9
VER-2-4-0
VER-2-4-1
VER-2-4-10
VER-2-4-11
VER-2-4-12
VER-2-4-12-beta
VER-2-4-2
VER-2-4-3
VER-2-4-4
VER-2-4-5
VER-2-4-6
VER-2-4-7
VER-2-4-8
VER-2-4-9
VER-2-5-0
VER-2-5-0-1
VER-2-5-1
VER-2-5-2
VER-2-5-3
VER-2-5-4
VER-2-5-5
VER-2-6
VER-2-6-1
VER-2-6-2
VER-2-6-3
VER-2-6-4
VER-2-6-5
VER-2-7
VER-2-7-1
VER-2-8
VER-2-8-1
VER-2-9
VER-2-9-1
VER-2-BETA2
VER-2-BETA3
VER-2-BETA4
freetype
freetype2
import
start
${ noResults }
freetype/include
Werner Lemberg
fbe2fe4c75
This commit (mainly for 32bit CPUs) is the first of a series of similar commits to handle known integer overflows. Basically, all of them are harmless, since they affect rendering of glyphs only, not posing security threats. It is expected that fuzzying will show up more overflows, to be fixed in due course. The idea is to mark places where overflows can occur, using macros that simply cast to unsigned integers, because overflow arithmetic is well defined in this case. Doing so suppresses run-time errors of sanitizers without adding computational overhead. * include/freetype/internal/ftcalc.h (OVERFLOW_ADD_INT, OVERFLOW_SUB_INT, OVERFLOW_MUL_INT, OVERFLOW_ADD_LONG, OVERFLOW_SUB_LONG, OVERFLOW_MUL_LONG): New macros. * src/base/ftcalc.c (FT_RoundFix, FT_CeilFix, FT_Matrix_Multiply, FT_Matrix_Multiply_Scaled, FT_Vector_Transform_Scaled, ft_corner_orientation): Use new macros. * src/base/ftoutln.c (FT_Outline_Get_Orientation): Use new macros. |
8 years ago | |
---|---|---|
.. | ||
freetype | Handle some integer overflow run-time errors (#46149, #48979). | 8 years ago |
ft2build.h | Update copyright year. | 8 years ago |