Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer Overflow with libopenhmd0 (0.2.0-3) #10

Open
WayneKeenan opened this issue Apr 2, 2018 · 1 comment
Open

Buffer Overflow with libopenhmd0 (0.2.0-3) #10

WayneKeenan opened this issue Apr 2, 2018 · 1 comment

Comments

@WayneKeenan
Copy link

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 : WayneKeenan/python-vrzero#7

The tweak (Would you like a PR for it?): https://github.com/WayneKeenan/python-rift/commit/fa23b59a716e4509f7d23f0b754705d696d794f5

Thanks
Wayne

@WayneKeenan
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant