From a7a63e61f116a6a1efa4331d9496bf606dcd420b Mon Sep 17 00:00:00 2001 From: Beyley Cardellio Date: Wed, 30 Apr 2025 05:20:48 -0700 Subject: [PATCH] ipc/server: Properly return ERROR_ALLOCATION in space_locate_spaces Part-of: --- src/xrt/ipc/server/ipc_server_handler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xrt/ipc/server/ipc_server_handler.c b/src/xrt/ipc/server/ipc_server_handler.c index 363f3c399..161e4870b 100644 --- a/src/xrt/ipc/server/ipc_server_handler.c +++ b/src/xrt/ipc/server/ipc_server_handler.c @@ -652,6 +652,7 @@ ipc_handle_space_locate_spaces(volatile struct ipc_client_state *ics, // only after sending the allocation result can we skip to the end in the allocation error case if (space_ids == NULL) { IPC_ERROR(s, "Failed to allocate space for receiving spaces ids"); + xret = XRT_ERROR_ALLOCATION; goto out_locate_spaces; } -- 2.51.2