* src/sfnt.c (GXAXIS): Check for the availability of naxis slot
elements in a single operation.
#define GXAXIS() \
{ \
uint32_t v; \
- int i; \
+ int i, naxis; \
+ \
+ naxis = interpreter->n_axis; \
+ CHECK_STACK_AVAILABLE (naxis); \
\
- for (i = 0; i < interpreter->n_axis; ++i) \
+ for (i = 0; i < naxis; ++i) \
{ \
if (interpreter->norm_coords) \
v = interpreter->norm_coords[i] / 4; \
else \
v = 0; \
\
- PUSH (v); \
+ PUSH_UNCHECKED (v); \
} \
}