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:
Tim Edwards 2024-08-04 11:37:54 -04:00
parent b441d668bd
commit 155f19a6d8
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
8.3.486
8.3.487

View File

@ -164,7 +164,8 @@ extUniqueCell(def, option)
if (!(ll->ll_label->lab_flags & PORT_DIR_MASK))
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)
break;