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 Wednesday, April 15, 2020 10:54:55
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 Friday, April 17, 2020 07:08:11
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
Skylar
Wednesday, April 17, 2024 18:35:08
from
Little Rock, Ar
via
Telnet
Zutoo
Thursday, April 18, 2024 02:09:58
from
Van Nuys, California
via
Telnet
amigamess
Thursday, April 18, 2024 01:57:34
from
Italia
via
HTTPS
Guest
Thursday, April 18, 2024 00:34:30
from
A
via
Telnet