Corrected an issue causing a crash condition when using "extract
unique" on a flattened layout (some labels end up NULL and the NULL condition needs to be checked). Also remembered to update VERSION, which was missed on the last commit.
This commit is contained in:
parent
b441d668bd
commit
155f19a6d8
|
|
@ -164,7 +164,8 @@ extUniqueCell(def, option)
|
||||||
|
|
||||||
if (!(ll->ll_label->lab_flags & PORT_DIR_MASK))
|
if (!(ll->ll_label->lab_flags & PORT_DIR_MASK))
|
||||||
for (lltest = lastreg->lreg_labels; lltest; lltest = lltest->ll_next)
|
for (lltest = lastreg->lreg_labels; lltest; lltest = lltest->ll_next)
|
||||||
if (!strcmp(lltest->ll_label->lab_text, text))
|
if ((lltest->ll_label != NULL) &&
|
||||||
|
(!strcmp(lltest->ll_label->lab_text, text)))
|
||||||
if (lltest->ll_label->lab_flags & PORT_DIR_MASK)
|
if (lltest->ll_label->lab_flags & PORT_DIR_MASK)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue