diff --git a/VERSION b/VERSION index 22d3bd1e..c42d948e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.135 +8.3.136 diff --git a/tcltk/readspice.tcl b/tcltk/readspice.tcl index 058185e0..6ddf8345 100644 --- a/tcltk/readspice.tcl +++ b/tcltk/readspice.tcl @@ -115,6 +115,10 @@ proc readspice {netfile} { if {$outport < $npins} {set outport $npins} set p [port first] while {$p != -1 && $p <= $highport} { + if {$p == ""} { + puts stderr "Error: $cellname port numbering failed." + break + } set p1 [port $p next] set testpin [port $p name] if {$testpin != ""} {