diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-11-07 21:39:40 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-11-07 21:39:40 +0100 |
commit | 2cc0a3d99510c52e440eb104bc575cc3932af7cc (patch) | |
tree | 67a25f931c56cd530fcc421e96c1822b4e1ccf7a /src/imlib.c | |
parent | f3b71673190187e4534cacb6ad0bbb490faafbb3 (diff) |
imlib.c: Fix buffer overflow in draw_actions (thx Gabe)
Diffstat (limited to 'src/imlib.c')
-rw-r--r-- | src/imlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imlib.c b/src/imlib.c index 6bb6311..8196340 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -1066,7 +1066,7 @@ void feh_draw_actions(winwidget w) int i = 0; int num_actions = 0; int cur_action = 0; - char index[1]; + char index[2]; char *line; /* Count number of defined actions. This method sucks a bit since it needs |