Commit Graph

976 Commits (dbf118f6c9e873ff5ae333cf041a3b10b0eca531)
 

Author SHA1 Message Date
Silvan Jegen dbf118f6c9 mless: only export LESSKEY once
Closes: #168 [via git-merge-pr]
5 years ago
Leah Neukirchen 1ed8a0ac76 blaze822_loop: delay opening sequence to first use 5 years ago
Leah Neukirchen 48285fe722 man/mcom.1: document defaults for mrep and mbnc 5 years ago
Sebastien Marie a4b975e731 mlist: look at maildir/new too for messages
Closes: #165 [via git-merge-pr]
5 years ago
Konst Mayer 71e2318c81 mshow: don't use --quit-at-eof in less by default
If the user wants it, he can add it to the LESS environment variable.

Closes: #163 [via git-merge-pr]
5 years ago
Leah Neukirchen 5ee756f6a5 mdeliver: better usage when multiple arguments are given 5 years ago
Leah Neukirchen 68272afcba mcom: use file --mime instead of file -i
This also works on macOS.

Closes #162.
5 years ago
Leah Neukirchen a60e705e51 mthread: make malloc failure fatal 5 years ago
Leah Neukirchen 5fa9a7a706 mmime: gen_file: remove check for trailing newline for 7bit transfer
RFC2046 5.1.1 specifies that parts without trailing newlines are coded
without problems:

> NOTE:  The CRLF preceding the boundary delimiter line is conceptually
> attached to the boundary so that it is possible to have a part that
> does not end with a CRLF (line break).

This if-statement now also codes empty files correctly.
5 years ago
Leah Neukirchen 5b0755ca68 slurp: don't special-case empty files, instead behave like strdup("")
This allows the caller to call free(3) in any case.
5 years ago
Leah Neukirchen fd675ef159 seq: blaze822_loop: fix leak 5 years ago
Leah Neukirchen 8a095775d0 maddr: addr: fix leak 5 years ago
Leah Neukirchen 53151f4f89 mdeliver: add fallback to utimes for systems that don't have utimensat
Namely, macOS before 10.13.
5 years ago
Leah Neukirchen 0d73424edf mscan: u8putstr: assume wcwidth of -1 means actually 2 (probably emojis) 5 years ago
Leah Neukirchen b052723eac NEWS.md: update for 0.5.1 5 years ago
Leah Neukirchen 023c26f943 rfc2047: blaze822_decode_rfc2047: account for space for trailing nul 5 years ago
Leah Neukirchen 081a9404cd blaze822: blaze822_addr: fix parsing of () at end of string
Found by lhynes.
5 years ago
Leah Neukirchen bb80642b70 msed: improve zero initialization 5 years ago
Leah Neukirchen 58365527e4 t: update links 5 years ago
Duncaen c8ce6d220c magrep: fix use of uninitialized memory
found by -fsanitize=memory
5 years ago
Duncaen 74d8393fdf msed: fix use of uninitialized memory
found by -fsanitize=memory
5 years ago
Leah Neukirchen 11ae5504fd blaze822: blaze822_addr: don't read over the trailing nul byte when resolving \ 5 years ago
Leah Neukirchen 9dfbf48be4 blaze822: blaze822_addr: take care of string end in comments inside < 5 years ago
Leah Neukirchen 3a97df9990 mmime: print_header: fix for empty lines 5 years ago
Leah Neukirchen 01b2f1abc6 blaze822: blaze822_addr: skip remaining characters when token is full, also with [ 5 years ago
Leah Neukirchen 5a8bb16289 blaze822: blaze822_addr: skip remaining characters when token is full 5 years ago
Leah Neukirchen 5fc3115c3f blaze822: blaze822_addr: don't drop last char when comment is not closed
Found by duncaen with afl.
5 years ago
Leah Neukirchen 3d3fffd7e8 blaze822: blaze822_addr: fix reading over the end of address if it ends with , or ;
Found by duncaen with afl.
5 years ago
Leah Neukirchen 3f2c714b42 blaze822: safe_append: fixes for various border cases
This fixes dstmax == dstlen and when src is completely full.

Found by duncaen with afl.
5 years ago
Leah Neukirchen f8fa6a1e0e mdirs: add -0 to separate folders by NUL characters
Idea by Mario Domgoergen <mdom@taz.de>.

Closes #159.
5 years ago
Leah Neukirchen 085138d6a2 mdeliver: work around macOS, which doesn't implement POSIX.1-2008 stat fields 5 years ago
Leah Neukirchen cb0ffbf6ad rfc2231: fix memleak
Found by clang 7.0.1.
5 years ago
Leah Neukirchen 6ea32480f1 blaze822: blaze822_mmap: fix memleak
Found by clang 7.0.1.
5 years ago
Leah Neukirchen 4198cd42fa blaze822: blaze822_mem: fix memleak
Found by clang 7.0.1.
5 years ago
Leah Neukirchen 4e9237f921 mdeliver: clean up logic 5 years ago
Leah Neukirchen 65ddebc87c mrefile: don't open the file when renaming is enough 5 years ago
Leah Neukirchen bccacce816 mrefile: try using rename first, when possible 5 years ago
Leah Neukirchen 8d09a5339e mdeliver: preserve mtime in mrefile 5 years ago
Leah Neukirchen b85c56f30c mdeliver: free msg opened for getting timestamp 5 years ago
Leah Neukirchen 2c14e800cd NEWS.md: add release date 5 years ago
Duncaen cfba3e1c3b mpick: fix off-by-one in parse_string (expression parsing) 5 years ago
Leah Neukirchen 820c07b7e4 NEWS.md: update 5 years ago
codesoap 33a6c48fb6 mcom: Quote one more variable 5 years ago
codesoap d164496e09 mcom: Quote two more variables
Before quoting these two variables I experienced problems when
trying to use the "encrypt" option while using mcom.
5 years ago
Leah Neukirchen 1aa4977f71 mcom: decode address for Reply-To: and To: header
mmime will recode again if required.
5 years ago
Leah Neukirchen 9d280aa8a3 mcom: do_mime: fix for loop quoting 5 years ago
codesoap 5bd1ef9cff contrib/mencrypt: Quote variables whenever possible 5 years ago
codesoap 1dd3415085 mless: Quote variables whenever possible 5 years ago
codesoap d68287aae5 mcom: Quote variables and subshells whenever possible 5 years ago
Leah Neukirchen 237ad8a2f3 mmime: print_header: use signed variable for linelen 5 years ago