--- joe/bw.c | 1 + 1 file changed, 1 insertion(+) Index: joe-4.2/joe/bw.c =================================================================== --- joe-4.2.orig/joe/bw.c 2016-03-06 16:39:55.000000000 +0100 +++ joe-4.2/joe/bw.c 2016-05-02 10:16:25.981304470 +0200 @@ -209,6 +209,7 @@ void bwfllw(W *w) static HIGHLIGHT_STATE get_highlight_state(BW *w, P *p, off_t line) { HIGHLIGHT_STATE state; + memset((void *)&state, 0, sizeof(HIGHLIGHT_STATE)); if(!w->o.highlight || !w->o.syntax) { invalidate_state(&state);