Istarnion / magic_touchscreen

A simple wrapper around reading touchscreen events from libevdev
7 stars 5 forks source link

Ensure the value of slot is initialized correctly #5

Closed jorrit-de-vries closed 1 year ago

jorrit-de-vries commented 1 year ago

Using clang as compiler, the value of slot is initialized in an undetermined fashion, resulting in a possible segfault when the value is not set before trying to set TouchData.