Corrected an error in defGetType() that incorrectly looks at a
lefLayer's "via" record even when the layer might not be a via, causing potential issues with uninitialized variables. Not sure if this is related to the bug that started this investigation, but it was the only thing that looked relevant.
This commit is contained in:
parent
191bff6c47
commit
eeeaf49ec7
|
|
@ -2040,7 +2040,7 @@ defGetType(ttype, lefptr, do_vias)
|
|||
{
|
||||
lefl = (lefLayer *)HashGetValue(he);
|
||||
if (lefl && (do_vias == FALSE) && (contact == CLASS_VIA) &&
|
||||
(lefl->info.via.lr != NULL))
|
||||
(lefl->lefClass == CLASS_VIA))
|
||||
continue; /* Skip VIA definitions if do_vias is FALSE */
|
||||
|
||||
if (lefl && ((contact == lefl->lefClass) ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue