mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-16 15:29:57 +00:00
seoul: catch exception during block session creation
Leads to invalid utcb state and later on to invalid vCPU state. Issue #806
This commit is contained in:
parent
8afcbce01e
commit
b9e48e94ec
@ -81,11 +81,10 @@ bool Vancouver_disk::receive(MessageDisk &msg)
|
||||
|
||||
if (!_diskcon[msg.disknr].blk_size) {
|
||||
|
||||
Genode::Allocator_avl * block_alloc = new Genode::Allocator_avl(Genode::env()->heap());
|
||||
try {
|
||||
Genode::Allocator_avl * block_alloc = new Genode::Allocator_avl(Genode::env()->heap());
|
||||
_diskcon[msg.disknr].blk_con = new Block::Connection(block_alloc, 4*512*1024, label);
|
||||
} catch (...) {
|
||||
|
||||
/* there is none. */
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user