From 48b04385c3dd5ce463ac8a7ac3b16c4fd6e2352e Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Tue, 16 Feb 2021 10:05:59 -0500 Subject: [PATCH] Corrected an error with the new off-grid DRC check that can cause a crash condition during GDS read-in. --- VERSION | 2 +- drc/DRCsubcell.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index f5b26962..b2c7c07b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.126 +8.3.127 diff --git a/drc/DRCsubcell.c b/drc/DRCsubcell.c index 053d77e6..d7b9d3af 100644 --- a/drc/DRCsubcell.c +++ b/drc/DRCsubcell.c @@ -647,6 +647,7 @@ void DRCOffGridError(rect) Rect *rect; /* Area of error */ { + if (drcSubFunc == NULL) return; (*drcSubFunc)(DRCErrorDef, rect, &drcOffGridCookie, drcSubClientData); }