{ \
uint32_t a0, a1, b0, b1, p; \
\
- a0 = POP (); \
- a1 = POP (); \
- b0 = POP (); \
- b1 = POP (); \
- p = POP (); \
+ CHECK_STACK_ELEMENTS (5); \
+ \
+ a0 = POP_UNCHECKED (); \
+ a1 = POP_UNCHECKED (); \
+ b0 = POP_UNCHECKED (); \
+ b1 = POP_UNCHECKED (); \
+ p = POP_UNCHECKED (); \
\
sfnt_interpret_isect (interpreter, \
a0, a1, b0, b1, p); \
{
char *style, *single, *saveptr;
int i;
+ USE_SAFE_ALLOCA;
/* Fill in default values. slant seems to not be consistent with
Fontconfig. */
/* Split the style into tokens delimited by spaces. Attempt to find
a token specifying each of the weight, slant, or width attributes
- using their respective descriptions arrays as a reference. GC
- must not happen inside this block. */
- style = SSDATA (Fdowncase (style_name));
+ using their respective descriptions arrays as a reference. */
+
+ SAFE_ALLOCA_STRING (style, Fdowncase (style_name));
saveptr = NULL;
while ((single = strtok_r (style, " ", &saveptr)))
next:
continue;
}
+
+ SAFE_FREE ();
}
/* Parse the list of design languages in META, a font metadata table,