The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/wmr: Fix segfault if unsupported HoloLens Sensors device is present.

authored by

Jason McNew and committed by
Jakob Bornecrantz
fd065cca c8ee075b

+4
+4
src/xrt/drivers/wmr/wmr_prober.c
··· 104 104 dev = devices[i]; 105 105 } 106 106 107 + if (dev == NULL) { 108 + return false; 109 + } 110 + 107 111 unsigned char m_str[256] = {0}; 108 112 unsigned char p_str[256] = {0}; 109 113 xrt_prober_get_string_descriptor(xp, dev, XRT_PROBER_STRING_MANUFACTURER, m_str, sizeof(m_str));