chiark / gitweb /
terminal: verify kernel-returned DRM events are not truncated
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 23 Sep 2014 11:51:42 +0000 (13:51 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 23 Sep 2014 18:05:45 +0000 (20:05 +0200)
commita908d213557cfbe874b7bd1ae3a1b0d3c05c29e9
treec3d786d892195a85c50bb495bbb49df1bc9460ac
parentc5e6bfc6bc46dd8bc187e035929d6a49cd23ec09
terminal: verify kernel-returned DRM events are not truncated

Make sure the kernel always returns events properly. This is guaranteed
right now, otherwise, we do something really wrong. But lets be sure and
verify the received values properly. This also silences some coverity
warnings.
src/libsystemd-terminal/grdev-drm.c