1. 09 Mar, 2010 1 commit
  2. 03 Mar, 2010 2 commits
  3. 27 Feb, 2010 5 commits
  4. 15 Jan, 2010 1 commit
  5. 14 Jan, 2010 3 commits
  6. 11 Jan, 2010 4 commits
    • Richard P. Curnow's avatar
      Merge branch 'jik' · 50d7aaa2
      Richard P. Curnow authored
      Conflicts:
        fromcheck.nfa (use jik version which has a cleaner equivalent of the
        conflicting edit)
      50d7aaa2
    • Richard P. Curnow's avatar
      Fix whitespace · 52fb4641
      Richard P. Curnow authored
      52fb4641
    • Jonathan Kamens's avatar
      43c5d30e
    • Jonathan Kamens's avatar
      Fix deficiencies in the parsing of mbox From lines · e4f5abda
      Jonathan Kamens authored
      1. The local part of email addresses can actually have a lot more characters in
      it than you were recognizing.
      2. In addition, quotation marks can be used to include even more characters in
      the local part.
      3. Valid characters in the domain part of the address are actually much more
      restricted than valid characters in the local part.
      4. Some software wraps the email address in angle brackets.
      5. You don't see it all that often anymore, but sometimes you will see domain
      routing notation in From lines, e.g., "@domain1:foo@domain2".
      6. Finally, the domain part of an email address could be an IP address wrapped
      in square braces rather than a DNS domain name.
      e4f5abda
  7. 01 Jan, 2010 1 commit
  8. 22 Aug, 2009 2 commits
  9. 21 May, 2009 1 commit
  10. 04 Dec, 2008 1 commit
  11. 01 Dec, 2008 1 commit
  12. 29 Nov, 2008 1 commit
  13. 28 Nov, 2008 2 commits
    • Samuel Tardieu's avatar
      Do not leak memory if duplicate fields are present. · 8337f61f
      Samuel Tardieu authored
      If for any reason duplicate headers are present, mairix will
      leak memory as it will reallocate new strings while loosing any
      reference on the existing ones.
      
      We take a different approach depending on the header:
      
        - Multiple "To:" and "Cc:" are concatenated (separated by ",") since
          this is a common and legitimate case of repeated headers.
        - Other headers are ignored if they have been encountered already.
      8337f61f
    • Samuel Tardieu's avatar
      Initialize the date header with a known value. · 999a52bf
      Samuel Tardieu authored
      The "Date:" header should be present in every email, but if it is not
      for any reason the "date" field will be left uninitialized. Set it to
      the epoch.
      999a52bf
  14. 24 Apr, 2008 2 commits
    • Richard P. Curnow's avatar
      Merge two conflicting solutions for bad MIME encoding · dadc197d
      Richard P. Curnow authored
      Mika has an extra test to avoid a buffer over-run.  However, Paramjit's
      early-exit solution for the other problem looks more guaranteed to be safe.
      
      Conflicts:
      
      	rfc822.c
      dadc197d
    • Mika Fischer's avatar
      Fix segfault when last char is not a newline · 67a417f0
      Mika Fischer authored
      I stumbled across a small bug when I tried out Mairix. It happens when an email
      file does not have a newline as the last character, sinc you do strchr(string,
      '\n'), which returns zero if it can't find '\n', resulting in a segfault.
      
      I've attached a patch that fixes the issue for me.
      67a417f0
  15. 29 Mar, 2008 1 commit
    • Paramjit Oberoi's avatar
      fix for MIME-related crash · 4aa49467
      Paramjit Oberoi authored
      I recently encountered a segfault in mairix when parsing a badly formatted MIME
      message.  In particular, if the email ends with "--mime-boundary-" - i.e. a
      single dash at the end instead of the usual two dashes, mairix crashes in the
      do_multipart() function.
      4aa49467
  16. 03 Mar, 2008 2 commits
  17. 28 Jan, 2008 2 commits
  18. 18 Nov, 2007 1 commit
  19. 15 Sep, 2007 1 commit
  20. 12 Sep, 2007 1 commit
  21. 06 Sep, 2007 1 commit
  22. 28 Aug, 2007 1 commit
  23. 22 Jul, 2007 1 commit
  24. 22 Jun, 2007 1 commit
  25. 30 May, 2007 1 commit