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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From deuce@VERT to CVS commit on Wed Apr 15 06: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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From deuce@VERT to CVS commit on Fri Apr 17 03: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!
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
Who's Online
Recent Visitors
Guest
Sun Feb 4 08:14:51 2024
from
Shell
via
Raw
Guest
Tue Feb 13 03:59:35 2024
from
Shell
via
Raw
Pengo
Sat Feb 17 04:28:41 2024
from
Moscow, Russia
via
Telnet
Hayden
Sat Mar 9 12:14:03 2024
from
Netherlands
via
Telnet