Files
Mujoco_WASM/python/mujoco
Alessio Quaglino 5d51b4cd5f Check that element is a nullptr before casting.
The bug was caused by the fact that the `mjs_as*` functions would return a pointer to a `mjC*` object, even if the input `mjsElement` pointer was null. This would cause a segfault.

PiperOrigin-RevId: 651802736
Change-Id: Ibec00d269a4befadff8a68e0513fd381c7e38a2a
2024-07-12 09:46:16 -07:00
..
2024-01-05 06:50:55 -08:00
2024-03-19 14:53:18 -07:00
2022-05-25 07:01:59 -07:00
2024-07-01 12:05:50 -07:00
2024-07-01 12:05:50 -07:00
2022-05-25 07:01:59 -07:00
2022-05-23 01:08:49 -07:00
2023-10-13 16:13:24 -07:00
2023-10-13 16:13:24 -07:00
2024-07-01 12:05:50 -07:00
2023-01-18 02:55:41 -08:00
2024-01-22 07:01:53 -08:00
2024-01-22 07:01:53 -08:00