aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-11-14 12:01:08 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-11-14 12:20:44 +0000
commit0c3f5d0e0d9269ad47b8f4b061d7818993913189 (patch)
treebf75b3c2981063176d764c763120551ab5108cc1 /fm.h
parentUpdate ChangeLog (diff)
downloadw3m-0c3f5d0e0d9269ad47b8f4b061d7818993913189.tar.gz
w3m-0c3f5d0e0d9269ad47b8f4b061d7818993913189.zip
Prevent array index out of bounds for symbol
Bug-Debian: https://github.com/tats/w3m/issues/38
Diffstat (limited to '')
-rw-r--r--fm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fm.h b/fm.h
index ede537b..96d3ab3 100644
--- a/fm.h
+++ b/fm.h
@@ -1109,6 +1109,7 @@ extern char *graph2_symbol[];
extern int symbol_width;
extern int symbol_width0;
#define N_GRAPH_SYMBOL 32
+#define N_SYMBOL (N_GRAPH_SYMBOL + 14)
#define SYMBOL_BASE 0x20
global int no_rc_dir init(FALSE);
global char *rc_dir init(NULL);