summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-11-07 21:39:40 +0100
committerDaniel Friesel <derf@finalrewind.org>2010-11-07 21:39:40 +0100
commit2cc0a3d99510c52e440eb104bc575cc3932af7cc (patch)
tree67a25f931c56cd530fcc421e96c1822b4e1ccf7a /src/imlib.c
parentf3b71673190187e4534cacb6ad0bbb490faafbb3 (diff)
imlib.c: Fix buffer overflow in draw_actions (thx Gabe)
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c2
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