Subj : src/sbbs3/pktdump.c To : CVS commit From : rswindell Date : Thu Apr 09 2020 11:30 am src/sbbs3 pktdump.c 1.13 1.14 Update of /cvsroot/sbbs/src/sbbs3 In directory cvs:/tmp/cvs-serv9086 Modified Files: pktdump.c Log Message: If a pkdmsg type is not 0x0002, then just move forward 2-bytes until there is valid pkdmsg type. This will allow better re-sync with a badly corrupted packet. I waffled about whether it should try to read the variable header fields if the DateTime field of the fixed header is invalid. Currently, it does. The pkdmsg header does not have very good identifying marks to re-sync with, so it's still possible that a valid msg that follows a corrupted one could get skipped. I would need some good set of varying examples of corrupted packets to test with, but I'm sure it's possible to "do better". .