From 500e08adcd54bc033a97710aadc844bcea143be1 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Mon, 14 Nov 2016 21:01:08 +0900 Subject: Prevent array index out of bounds for symbol Bug-Debian: https://github.com/tats/w3m/issues/38 Origin: https://anonscm.debian.org/cgit/collab-maint/w3m.git/commit/?id=0c3f5d0e0d9269ad47b8f4b061d7818993913189 --- fm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fm.h') diff --git a/fm.h b/fm.h index 149a02f..4d02f37 100644 --- a/fm.h +++ b/fm.h @@ -1099,6 +1099,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); -- cgit v1.2.3