Corrected a case of a missing variable initialization in the case of
reading a bad "bloat-all" statement in a techfile. This prevents magic from eventually segfaulting when exercising the recipe in which the bad statement occurs.
This commit is contained in:
parent
c0ea133e98
commit
ea301b53f8
|
|
@ -1240,6 +1240,7 @@ bloatCheck:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TechError("Not all bloat layers fall in the same plane.\n");
|
TechError("Not all bloat layers fall in the same plane.\n");
|
||||||
|
bloats->bl_plane = 0; /* Prevents magic from segfaulting */
|
||||||
bloatDone: break;
|
bloatDone: break;
|
||||||
|
|
||||||
case CIFOP_NET:
|
case CIFOP_NET:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue