mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
base: avoid pagefault if session creation failed
This commit is contained in:
committed by
Christian Helmuth
parent
e54ad5c73a
commit
7ff6e96623
@@ -188,7 +188,9 @@ class Genode::Root_component : public Rpc_object<Typed_root<SESSION_TYPE> >,
|
|||||||
catch (Insufficient_ram_quota) { throw; }
|
catch (Insufficient_ram_quota) { throw; }
|
||||||
catch (...) {
|
catch (...) {
|
||||||
warning("unexpected exception during ",
|
warning("unexpected exception during ",
|
||||||
SESSION_TYPE::service_name(), "-session creation"); }
|
SESSION_TYPE::service_name(), "-session creation");
|
||||||
|
throw Service_denied();
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Consider that the session-object constructor may already have
|
* Consider that the session-object constructor may already have
|
||||||
|
|||||||
Reference in New Issue
Block a user