284956b5b1
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. |
||
---|---|---|
.. | ||
module.mk | ||
pfr.c | ||
pfrcmap.c | ||
pfrcmap.h | ||
pfrdrivr.c | ||
pfrdrivr.h | ||
pfrerror.h | ||
pfrgload.c | ||
pfrgload.h | ||
pfrload.c | ||
pfrload.h | ||
pfrobjs.c | ||
pfrobjs.h | ||
pfrsbit.c | ||
pfrsbit.h | ||
pfrtypes.h | ||
rules.mk |