diff options
author | Markus Ongyerth <ongy@ongy.net> | 2019-02-15 21:01:52 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-02-19 08:51:10 +0100 |
commit | fc9838b15e8d4f0d5a80749902b1d190978caf9f (patch) | |
tree | cba0eb8c8cf95c2be1a4b672c963e7592ecdb632 /examples/screencopy.c | |
parent | b455df3b9172286f7af137ffdc7b0b5735e9ddb3 (diff) |
Prevent NULL dereference in tablet_tool handler
In case a tool was removed, but not yet destroyed by the client, the
tool_client's tool can be NULL. We have to check that as well in the
set_cursor handler to prevent using inert resources
Diffstat (limited to 'examples/screencopy.c')
0 files changed, 0 insertions, 0 deletions