diff options
author | Bernhard R. Link <brlink@debian.org> | 2010-12-23 15:38:34 +0100 |
---|---|---|
committer | Bernhard R. Link <brlink@debian.org> | 2010-12-23 15:46:13 +0100 |
commit | 7d1e839e1ad28053220a2f240a5981093b76aee7 (patch) | |
tree | deda3f2712fe3226454c377a9054f8b883c76e2a /doc/ratpoison.1 | |
parent | f4433c0dfca70186f83bd44f3eca365c06520b34 (diff) | |
download | ratpoison-7d1e839e1ad28053220a2f240a5981093b76aee7.zip |
don't follow a pointer that might be NULL (HIDE_MOUSE specific)
In events.c's key_press, the screen the local pointer variable s
points to is accessed if HIDE_MOUSE is defined when hiding the cursor.
Directly after that there is a "if (!s) return;", which is obviously
too late.
By default HIDE_MOUSE is not defined in src/conf.h, so this is not
a problem unless this feature was enabled at compile time.
Found by cppcheck.
Diffstat (limited to 'doc/ratpoison.1')
0 files changed, 0 insertions, 0 deletions