summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBernhard R. Link <brlink@debian.org>2010-12-23 15:38:34 +0100
committerBernhard R. Link <brlink@debian.org>2010-12-23 15:46:13 +0100
commit7d1e839e1ad28053220a2f240a5981093b76aee7 (patch)
treededa3f2712fe3226454c377a9054f8b883c76e2a /src/screen.c
parentf4433c0dfca70186f83bd44f3eca365c06520b34 (diff)
downloadratpoison-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 'src/screen.c')
0 files changed, 0 insertions, 0 deletions