freetype2/src/pfr
Alexei Podtelezhnikov 284956b5b1 [pfr] Fortify the kerning code.
Any array index must be strictly less then the array size. Therefore,
we must reject indexes that are equal to the array size.  Alternatively,
we should move the bounds check before the index decrement but that
would be confusing.

In addition, it is ok to decrement zero (.notdef) and get UINT_MAX,
which is then automatically rejected in the bounds check.

* src/pfr/pfrobjs.c (pfr_face_get_kerning): Fix the bounds checking.
2022-07-26 12:23:15 -04:00
..
module.mk Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfr.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfrcmap.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfrcmap.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfrdrivr.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfrdrivr.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfrerror.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfrgload.c * src/pfr/*.c: Trivial improvements and formatting. 2022-07-26 16:22:27 +02:00
pfrgload.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfrload.c [pfr] Add some safety guards. 2022-07-26 16:50:19 +02:00
pfrload.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfrobjs.c [pfr] Fortify the kerning code. 2022-07-26 12:23:15 -04:00
pfrobjs.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfrsbit.c * src/pfr/*.c: Trivial improvements and formatting. 2022-07-26 16:22:27 +02:00
pfrsbit.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pfrtypes.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
rules.mk Update all copyright notices. 2022-01-11 10:54:10 +01:00