From: ceriel Date: Wed, 10 Nov 1993 12:58:26 +0000 (+0000) Subject: Fix: had array bound error X-Git-Tag: release-5-5~247 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f33df43f9a5fe3c255c646ef1918cb6a2f522641;p=ack.git Fix: had array bound error --- diff --git a/util/opt/flow.c b/util/opt/flow.c index 1d7806e1d..e54ed109b 100644 --- a/util/opt/flow.c +++ b/util/opt/flow.c @@ -82,6 +82,7 @@ reach(lnp) register line_p lnp; { else np->n_jumps++; } + if ((lnp->l_instr & BMASK) > sp_lmnem) continue; if ((em_flag[(lnp->l_instr&BMASK)-sp_fmnem]&EM_FLO)==FLO_T) return; }