bug 463561 - mkdepend crashes while compiling freetype r=bsmedberg a191=beltzner

This commit is contained in:
Brad Lassey 2009-01-23 14:30:07 -05:00
parent 478f386d96
commit bd96f1d0e2

View File

@ -296,6 +296,8 @@ parse_product (IfParser *g, const char *cp, long *valp)
case '/':
DO (cp = parse_product (g, cp + 1, &rightval));
if (rightval == 0)
return CALLFUNC(g, handle_error) (g, cp, "0");
*valp = (*valp / rightval);
break;