mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
Found a crash condition reported by Abhinav Uppal where labels
that are unattached (type = space) will cause magic to crash on the command "lef write -hide"---The lowest level issue was in SelectChunk(), so for good measure SelectChunk() now checks for type == TT_SPACE, and "lef write" does also.
This commit is contained in:
@@ -715,6 +715,9 @@ SelectChunk(scx, type, xMask, pArea, less)
|
||||
SelSetDisplay(SelectUse, SelectRootDef);
|
||||
}
|
||||
|
||||
/* Ignore if type is TT_SPACE */
|
||||
if (type == TT_SPACE) return;
|
||||
|
||||
/* The chunk is computed iteratively. First extract a small
|
||||
* region (defined by INITIALSIZE) into Select2Def. Then find
|
||||
* the largest chunk in the region. If the chunk touches a
|
||||
|
||||
Reference in New Issue
Block a user