From deuce@VERT to CVS commit on Thu Jan 2 16:39:46 2014
src/smblib lzh.c 1.11 1.12
Update of /cvsroot/sbbs/src/smblib
In directory cvs:/tmp/cvs-serv27271
Modified Files:
lzh.c
Log Message:
Fix crash when decompressing on FreeBSD.
This does not fix the underlying problem, just prevents twiddling outside
of the array bounds.
From deuce@VERT to CVS commit on Thu Jan 2 17:23:50 2014
src/smblib lzh.c 1.12 1.13
Update of /cvsroot/sbbs/src/smblib
In directory cvs:/tmp/cvs-serv27936
Modified Files:
lzh.c
Log Message:
Work around unexpected GCC 4.2.1 behaviour on FreeBSD 9.1-i386 where
integer promotion which I don't seriously believe is legal make 637 > 65535.
Fixes longstanding weirdo crash on FreeBSD with LZH compressed messages.