diff --git a/app/src/main/cpp/skyline/services/sm/IUserInterface.cpp b/app/src/main/cpp/skyline/services/sm/IUserInterface.cpp index 6bf06d50..edfa4866 100644 --- a/app/src/main/cpp/skyline/services/sm/IUserInterface.cpp +++ b/app/src/main/cpp/skyline/services/sm/IUserInterface.cpp @@ -13,6 +13,7 @@ namespace skyline::service::sm { void IUserInterface::GetService(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { std::string serviceName(request.PopString()); + serviceName.resize(std::min(8UL, serviceName.size())); if (serviceName.empty()) { response.errorCode = constant::status::ServiceInvName;