Tracked down a DRC issue found recently where spurious errors get

drawn outside the area being worked on.  Tracked it down to a
missing check for an invalid rectangle.  Fixed now.
This commit is contained in:
R. Timothy Edwards 2026-03-05 10:17:29 -05:00
parent 0d9b862c0e
commit d0ef32de0f
1 changed files with 1 additions and 0 deletions

View File

@ -826,6 +826,7 @@ DRCInteractionCheck(def, area, erasebox, func, cdarg)
*/
subArea = *erasebox;
GeoClip(&subArea, &cliparea);
if (GEO_RECTNULL(&subArea)) continue;
GEO_EXPAND(&subArea, DRCTechHalo, &intArea);
errorSaveType = DRCErrorType;