base: avoid pagefault if session creation failed
This commit is contained in:
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user