mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
ipc: Be paranoid about tracking origins
This commit is contained in:
parent
5908c33439
commit
cf3a337547
|
@ -97,6 +97,7 @@ init_tracking_origins(struct ipc_server *s)
|
|||
|
||||
struct xrt_device *xdev = s->xdevs[i];
|
||||
struct xrt_tracking_origin *xtrack = xdev->tracking_origin;
|
||||
assert(xtrack != NULL);
|
||||
size_t index = 0;
|
||||
|
||||
for (; index < IPC_SERVER_NUM_XDEVS; index++) {
|
||||
|
|
Loading…
Reference in a new issue