Fix null pointer dereference in bundle-manager #8331
This commit is contained in:
parent
5361a3f5c4
commit
59d9c940d3
@ -810,7 +810,7 @@ PortMatrix::can_add_channel_proxy (boost::weak_ptr<Bundle> w, DataType t) const
|
||||
return false;
|
||||
}
|
||||
boost::shared_ptr<IO> io = io_from_bundle (b);
|
||||
return io->can_add_port (t);
|
||||
return io && io->can_add_port (t);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user