ref: 4a1bc8fcf60db43de515ac9ba2e9475ae95f6d67
parent: 7e0e160d873ae83110f9dee96522b8181d126c29
author: Tom Kacvinsky <[email protected]>
date: Mon Apr 2 13:47:16 EDT 2001
In function TT_Load_Metrics, fix improper an improper pointer dereference. Submitted by herbert duerr <[email protected]>
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -751,7 +751,7 @@
/* fonts usually only, nothing serious will happen */
if ( num_shorts > num_shorts_checked && num_shorts_checked > 0 )
{
- FT_Short val = *(shorts)[num_shorts_checked - 1];
+ FT_Short val = (*shorts)[num_shorts_checked - 1];
limit = *shorts + num_shorts;