Buffer Overflow with libopenhmd0 (0.2.0-3)
Hi,
I going to be investigating a buffer overflow issue that I'm seeing on libopenhmd0 (0.2.0-3) on RaspberryPi Raspbian Stretch.
I see the issue occurs with your Cython based bindings and also a small ctypes one I wrote.
Before I jet of into it I wondered if you had seen it before?
I also made a minor tweak to get the code to compile against libopenhmd0 (0.2.0-3) and added some Pi notes.
The issue for reference : https://github.com/WayneKeenan/python-vrzero/issues/7
The tweak (Would you like a PR for it?): https://github.com/WayneKeenan/python-rift/commit/fa23b59a716e4509f7d23f0b754705d696d794f5
Thanks Wayne
Hi,
I just wanted to let you know that I resolved this buffer overflow in my hmd.py helper.
The key centres around adding this OpenHMD API call to get a valid HMD device: https://github.com/WayneKeenan/python-vrzero/blob/SonyPSVR_WIP/vrzero/hmd.py#L36
Hope it helps, Wayne