Because the test to continue is *after* the loop, we can't continue
when c is the last index into lzh->son, or the code will make use of lzh->son[sizeof(lzh->son)/sizeof(lzh->son[0])] which is outside the bounds
of the array.
From deuce to CVS commit on Wed Apr 15 10:54:55 2020
src/encode lzh.c 1.14 1.15
Update of /cvsroot/sbbs/src/encode
In directory cvs:/tmp/cvs-serv688
Modified Files:
lzh.c
Log Message:
More weirdness uncovered by Coverity.
To be fair, this is all weird.
From deuce to CVS commit on Fri Apr 17 07:08:11 2020
src/encode lzh.c 1.15 1.16
Update of /cvsroot/sbbs/src/encode
In directory cvs:/tmp/cvs-serv1738
Modified Files:
lzh.c
Log Message:
I'm going to get the LZH to pass Coverity if it's the last thing I do!
Who's Online
Recent Visitors
David Murray
Fri May 3 20:41:06 2024
from
Kennedale, Tx
via
Raw
David Murray
Fri May 3 20:23:08 2024
from
Kennedale, Tx
via
Raw
David Murray
Fri May 3 20:18:22 2024
from
Kennedale, Tx
via
Raw
Guest
Sat May 4 01:33:39 2024
from
United Klingon
via
Telnet