Skip to content
Snippets Groups Projects
  1. Oct 07, 2021
  2. Oct 06, 2021
    • Rob Swindell's avatar
      Don't append the stale static string in fmsgattr_str() · 2fae58e1
      Rob Swindell authored
      When this function was called multiple times (e.g. multiple messages in a pkt),
      it would keep appending to the current (static) string, eventually overflowing
      the buffer and corrupting the stack. Although reported in pktdump, it could
      have also happened with fmsgdump if passed multiple stored message (.msg) files.
      
      Fixes #295 reported by Nelgin
      2fae58e1
  3. Mar 11, 2021
    • Rob Swindell's avatar
      Fix issue display AREA keywords at beginning of body text · edad7930
      Rob Swindell authored
      or any lines that were only terminated with carriage-return (\r)
      since these are treated rather-oddly by the FTN software as a
      line-ending and line-feeds are to be ignored. So transfer \r to \n
      on output and ignore the \n's in the body text.
      edad7930
  4. Feb 15, 2021
  5. Aug 16, 2020
  6. Apr 28, 2020
  7. Apr 26, 2020
  8. Apr 09, 2020
    • rswindell's avatar
      Added new option -split, which will split a packet into a *.good and a *.bad · 999563c7
      rswindell authored
      file containing only the good or bad messages, leaving the orignal *.pkt file
      intact.
      The -recover option will *only* create a *.good file (renamed from .recovered).
      Now, if the recovered (good) or bad output file has no messages or is the exact
      same size as the original pkt file, the output file is automatically deleted.
      999563c7
    • rswindell's avatar
      If a pkdmsg type is not 0x0002, then just move forward 2-bytes until there is · 96d27072
      rswindell authored
      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".
      96d27072
    • rswindell's avatar
      Added a -recover option (e.g. pktdump -r *.pkt). This option will create · 68947da2
      rswindell authored
      duplicates of all the parsed packet files, but excluding all corrupted packed
      messages. The recovered packet files are named *.recovered.
      Also improved the corrupted packed message header detection to make this
      feature more useful.
      Created at the request of Nelgin who promises to test and use, for better or
      for worse, in sickness and in health, from this day forward, yadda yadda yadda.
      68947da2
  9. Oct 08, 2018
  10. Mar 31, 2018
  11. May 25, 2016
  12. Oct 05, 2013
    • rswindell's avatar
      Output product/revision information. · 49b28fe0
      rswindell authored
      Print wanring if type 2+ orig/dest zones don't match the zone fields in the
      type-2 portion of the header.
      Updated some pkt header field names in fidodefs.h.
      49b28fe0
  13. Sep 17, 2013
  14. Oct 13, 2012
  15. Jan 27, 2010
  16. Jan 15, 2009
  17. Jan 07, 2007
  18. Dec 28, 2006
Loading