summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2015-03-08 00:08:17 +0100
committerRuben Undheim <ruben.undheim@gmail.com>2015-03-08 00:08:17 +0100
commitaf5d39c2977e10553906fc0c2107c73ab468b338 (patch)
tree55a82b67d872221735a55f1624f5ce1a15b981f8
parent3031eaba9513e350a717d41076da56f0be2e8589 (diff)
parentad6381b9d6ccf1515ad5fde4f43dc331e3b63515 (diff)
Merge remote-tracking branch 'upstream/master' into upstream
-rw-r--r--VERSION2
-rw-r--r--qrouter.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 80e78df..3336003 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.3.5
+1.3.7
diff --git a/qrouter.c b/qrouter.c
index c426b39..ee8c52c 100644
--- a/qrouter.c
+++ b/qrouter.c
@@ -2468,14 +2468,16 @@ void cleanup_net(NET net)
lf = segf->layer;
fcheck = (lf != layer && lf != layer - 1) ? FALSE : TRUE;
// We're going to remove the contact so it can't be a tap
- if (Nodesav[lf][OGRID(segf->x1, segf->y1, lf)] != NULL)
+ if ((lf < Pinlayers) &&
+ (Nodesav[lf][OGRID(segf->x1, segf->y1, lf)] != NULL))
fcheck = FALSE;
}
if (segl && (segl->segtype & ST_VIA)) {
ll = segl->layer;
lcheck = (ll != layer && ll != layer - 1) ? FALSE : TRUE;
// We're going to remove the contact so it can't be a tap
- if (Nodesav[ll][OGRID(segl->x1, segl->y1, ll)] != NULL)
+ if ((ll < Pinlayers) &&
+ (Nodesav[ll][OGRID(segl->x1, segl->y1, ll)] != NULL))
lcheck = FALSE;
}
if (fcheck == FALSE && lcheck == FALSE) continue;