On Sat Apr 27 12:47:41 2024 +0000, Jinoh Kang wrote:
(nit) Ensure that the caller doesn't access stale pointer. (also needed by the `if (*object_shm)` suggestion)
*object_shm = NULL;
I think that's just overkill. The caller shouldn't use the pointer if the returned status isn't STATUS_PENDING.