Al-Qurtas-Islamic-bank-The-.../src/truetype
Ben Wagner afb4ca0151 [truetype] Reset localpoints when varying cvt.
When iterating over the cvt tuples and reading in the points it is necessary
to set all of `localpoints`, `points`, and `point_count` in all cases.  The
existing code did not reset `localpoints` to `NULL` when there were no
private point numbers.  If the previous tuple did have private point numbers
and set `localpoints` to `ALL_POINTS` this would not be cleared and the
wrong branch would be taken later, leading to possible heap buffer overflow.

* src/truetype/ttgxvar.c (tt_face_vary_cvt): Reset `localpoints` to `NULL`
when it isn't valid.

Fixes: https://crbug.com/1284742
2022-01-06 19:13:00 +01:00
..
module.mk Update all copyright notices. 2021-01-17 07:18:48 +01:00
rules.mk Update all copyright notices. 2021-01-17 07:18:48 +01:00
truetype.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttdriver.c [base] Fix ppem size overflow. 2021-08-18 07:27:02 +02:00
ttdriver.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
tterrors.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttgload.c [truetype] Upstream the hdmx binary search. 2021-12-13 11:44:24 -05:00
ttgload.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttgxvar.c [truetype] Reset localpoints when varying cvt. 2022-01-06 19:13:00 +01:00
ttgxvar.h [truetype] Updates for the forthcoming OpenType 1.9 standard (1/2). 2021-11-16 20:13:58 +00:00
ttinterp.c [truetype] Reset the IUP-called flags for each subglyph. 2021-12-12 12:29:04 -05:00
ttinterp.h [truetype] Minor documentation improvements. 2021-10-15 19:02:41 +02:00
ttobjs.c [truetype] Upstream the hdmx binary search. 2021-12-13 11:44:24 -05:00
ttobjs.h [truetype] Upstream the hdmx binary search. 2021-12-13 11:44:24 -05:00
ttpload.c [truetype] Binary search through the `hdmx` records. 2021-12-11 22:54:06 -05:00
ttpload.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttsubpix.c Whitespace formatting. 2021-08-22 22:32:07 -04:00
ttsubpix.h Update all copyright notices. 2021-01-17 07:18:48 +01:00