base: avoid pagefault if session creation failed

This commit is contained in:
Alexander Boettcher 2017-11-09 11:36:22 +01:00 committed by Christian Helmuth
parent e54ad5c73a
commit 7ff6e96623

View File

@ -188,7 +188,9 @@ class Genode::Root_component : public Rpc_object<Typed_root<SESSION_TYPE> >,
catch (Insufficient_ram_quota) { throw; }
catch (...) {
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