Browse Source

base: avoid pagefault if session creation failed

devel
Alexander Boettcher 5 years ago committed by Christian Helmuth
parent
commit
7ff6e96623
  1. 4
      repos/base/include/root/component.h

4
repos/base/include/root/component.h

@ -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

Loading…
Cancel
Save