From 1356ef1e6989098ed9103fd70f210abb7bedaace Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Mon, 13 Apr 2020 22:25:45 -0400 Subject: [PATCH] I7000: Fixed possible memory overrun error. --- I7000/i7000_mt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/I7000/i7000_mt.c b/I7000/i7000_mt.c index 23f2647..3cc95de 100644 --- a/I7000/i7000_mt.c +++ b/I7000/i7000_mt.c @@ -138,7 +138,7 @@ extern uint8 chan_io_status[NUM_CHAN]; /* Channel status */ #endif /* Channel level activity */ -uint8 mt_chan[NUM_DEVS]; +uint8 mt_chan[NUM_CHAN]; /* One buffer per channel */ uint8 mt_buffer[NUM_DEVS][BUFFSIZE];