mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-22 05:57:30 +02:00
get_ports bus[subscript_out_of_bounds]
Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
+2
-1
@@ -95,7 +95,8 @@ Network::findPortsMatching(const Cell *cell,
|
||||
else {
|
||||
// bus[0]
|
||||
Port *port_bit = findBusBit(port, from);
|
||||
matches.push_back(port_bit);
|
||||
if (port_bit != nullptr)
|
||||
matches.push_back(port_bit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user