Commit Graph

962 Commits

Author SHA1 Message Date
Leah Neukirchen
b052723eac NEWS.md: update for 0.5.1 2019-03-03 17:12:56 +01:00
Leah Neukirchen
023c26f943 rfc2047: blaze822_decode_rfc2047: account for space for trailing nul 2019-03-02 21:47:30 +01:00
Leah Neukirchen
081a9404cd blaze822: blaze822_addr: fix parsing of () at end of string
Found by lhynes.
2019-03-01 15:43:38 +01:00
Leah Neukirchen
bb80642b70 msed: improve zero initialization 2019-03-01 15:32:00 +01:00
Leah Neukirchen
58365527e4 t: update links 2019-03-01 12:30:40 +01:00
Duncaen
c8ce6d220c magrep: fix use of uninitialized memory
found by -fsanitize=memory
2019-02-28 17:34:58 +01:00
Duncaen
74d8393fdf msed: fix use of uninitialized memory
found by -fsanitize=memory
2019-02-28 17:34:58 +01:00
Leah Neukirchen
11ae5504fd blaze822: blaze822_addr: don't read over the trailing nul byte when resolving \ 2019-02-28 14:59:12 +01:00
Leah Neukirchen
9dfbf48be4 blaze822: blaze822_addr: take care of string end in comments inside < 2019-02-28 14:28:14 +01:00
Leah Neukirchen
3a97df9990 mmime: print_header: fix for empty lines 2019-02-28 13:20:19 +01:00
Leah Neukirchen
01b2f1abc6 blaze822: blaze822_addr: skip remaining characters when token is full, also with [ 2019-02-27 23:21:55 +01:00
Leah Neukirchen
5a8bb16289 blaze822: blaze822_addr: skip remaining characters when token is full 2019-02-27 22:58:00 +01:00
Leah Neukirchen
5fc3115c3f blaze822: blaze822_addr: don't drop last char when comment is not closed
Found by duncaen with afl.
2019-02-27 22:43:15 +01:00
Leah Neukirchen
3d3fffd7e8 blaze822: blaze822_addr: fix reading over the end of address if it ends with , or ;
Found by duncaen with afl.
2019-02-27 22:42:15 +01:00
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.
2019-02-27 22:40:13 +01:00
Leah Neukirchen
f8fa6a1e0e mdirs: add -0 to separate folders by NUL characters
Idea by Mario Domgoergen <mdom@taz.de>.

Closes #159.
2019-02-20 10:57:50 +01:00
Leah Neukirchen
085138d6a2 mdeliver: work around macOS, which doesn't implement POSIX.1-2008 stat fields 2019-02-11 10:35:52 +01:00
Leah Neukirchen
cb0ffbf6ad rfc2231: fix memleak
Found by clang 7.0.1.
2019-02-10 22:06:56 +01:00
Leah Neukirchen
6ea32480f1 blaze822: blaze822_mmap: fix memleak
Found by clang 7.0.1.
2019-02-10 22:03:45 +01:00
Leah Neukirchen
4198cd42fa blaze822: blaze822_mem: fix memleak
Found by clang 7.0.1.
2019-02-10 22:03:09 +01:00
Leah Neukirchen
4e9237f921 mdeliver: clean up logic 2019-02-10 22:00:29 +01:00
Leah Neukirchen
65ddebc87c mrefile: don't open the file when renaming is enough 2019-02-10 21:54:10 +01:00
Leah Neukirchen
bccacce816 mrefile: try using rename first, when possible 2019-02-10 21:39:11 +01:00
Leah Neukirchen
8d09a5339e mdeliver: preserve mtime in mrefile 2019-02-10 21:23:09 +01:00
Leah Neukirchen
b85c56f30c mdeliver: free msg opened for getting timestamp 2019-02-10 21:15:15 +01:00
Leah Neukirchen
2c14e800cd NEWS.md: add release date 2019-02-09 15:54:57 +01:00
Duncaen
cfba3e1c3b mpick: fix off-by-one in parse_string (expression parsing) 2019-02-08 19:55:47 +01:00
Leah Neukirchen
820c07b7e4 NEWS.md: update 2019-02-08 18:43:26 +01:00
codesoap
33a6c48fb6 mcom: Quote one more variable 2019-02-06 21:11:29 +01:00
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.
2019-02-06 21:11:29 +01:00
Leah Neukirchen
1aa4977f71 mcom: decode address for Reply-To: and To: header
mmime will recode again if required.
2019-02-06 17:32:13 +01:00
Leah Neukirchen
9d280aa8a3 mcom: do_mime: fix for loop quoting 2019-02-05 09:49:59 +01:00
codesoap
5bd1ef9cff contrib/mencrypt: Quote variables whenever possible 2019-02-03 19:57:14 +01:00
codesoap
1dd3415085 mless: Quote variables whenever possible 2019-02-03 19:57:14 +01:00
codesoap
d68287aae5 mcom: Quote variables and subshells whenever possible 2019-02-03 19:57:14 +01:00
Leah Neukirchen
237ad8a2f3 mmime: print_header: use signed variable for linelen 2019-02-03 18:06:40 +01:00
Leah Neukirchen
adb5850983 blaze822: safe_append: avoid different signedness in comparison 2019-02-03 18:03:13 +01:00
Leah Neukirchen
6645e80324 mdeliver: force mode 0600 for pipes (BSD gives 0000 here by default) 2019-02-03 17:17:32 +01:00
Leah Neukirchen
5a2c6747b6 mcom: check if mail is formatted sensibly 2019-02-01 15:08:20 +01:00
Leah Neukirchen
79434e45db msed: allow final empty command 2019-02-01 14:46:09 +01:00
Leah Neukirchen
763be1967c mflag.1: tweak description 2019-01-31 20:49:46 +01:00
Vincent Breitmoser
8e4ed10b6c mshow: put message-id into env, if available
Closes: #135 [via git-merge-pr]
2019-01-29 13:20:06 +01:00
Leah Neukirchen
a6f48fe371 mcom: add -send 2019-01-29 13:10:25 +01:00
Duncaen
6b3cca21fb mscan.1: fix typo 2019-01-14 18:15:37 +01:00
Leah Neukirchen
3c6f5c3cee mcom: enter the loop again when we should run mime, another place 2019-01-12 16:14:12 +01:00
Leah Neukirchen
577b4497e4 mcom: enter the loop again when we should run mime 2019-01-12 16:12:12 +01:00
Leah Neukirchen
30fba2bcfd mcom: automime can be empty 2019-01-12 16:11:57 +01:00
Leah Neukirchen
d6c2470ad1 mcom: check drafts exist, and ensure they contain a / 2019-01-12 16:11:46 +01:00
Leah Neukirchen
8427990730 NEWS.md: update 2019-01-12 16:10:57 +01:00
Leah Neukirchen
d2f4294d95 NEWS.md: update 2019-01-11 16:29:44 +01:00