Skip to content

Raspbian stretch ships with an OpenHMD package, but vrzero's bindings buffer overflow #7

Description

@vitorio

Using a DK1 with an RPi3 with Raspbian Lite (no X11) stretch, I see there's a stock libopenhmd package available, libopenhmd0 (0.2.0-3), several versions newer than the one packaged here.

To try and get vrzero's hmd.py to use it, I have to change libopenhmd.so to libopenhmd.so.0 in hmd.py, however, this results in a buffer overflow.

$ python abbey.py 
shader(2) barrel, Compiled
shader(3) barrel, Compiled
('keyboards =', [(0, 0), (1, 1)])
('mice = ', [])
('joysticks =', [])
*** buffer overflow detected ***: python terminated
Aborted

Removing the stock libopenhmd and installing the vrzero-packaged one works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions