Leah Neukirchen
f860f2d2c1
msed: sed: free h and v
7 years ago
Leah Neukirchen
9f49370ae3
mshow: list_mime: fix small leak
7 years ago
Leah Neukirchen
ebae697000
mthread: thread: fix small leak
7 years ago
Leah Neukirchen
3c3c175086
rfc2047: blaze822_decode_rfc2047: fix memory leak of srcenc
7 years ago
Leah Neukirchen
1207c53444
msed: fix parsing of a//
7 years ago
Leah Neukirchen
3957080127
mscan: u8putstr: factor out common code
7 years ago
Leah Neukirchen
7999b44de8
mverify: properly quote the sed mess
7 years ago
Leah Neukirchen
bafe62e898
NEWS.md: update
7 years ago
Leah Neukirchen
de30dce638
mquote: fall back to rendering when no plaint text reply was found
7 years ago
Leah Neukirchen
e2c243bc26
mshow: exit with status 1 if -R didn't find a plain text reply
7 years ago
Leah Neukirchen
4bf38b9751
mless: add { }/$ to jump to first/last message
7 years ago
Leah Neukirchen
a07be8d7c8
NEWS.md: update
7 years ago
Leah Neukirchen
cb33213374
mshow.1: explain filter exit statuses
7 years ago
Leah Neukirchen
dd6915d47e
mcom: strip empty headers after editing
7 years ago
Leah Neukirchen
07f3f044ed
msed: add s///d flag to remove on match
7 years ago
Leah Neukirchen
5e7c300b42
blaze822: blaze822_loop: use long as return type
7 years ago
Leah Neukirchen
a5026c9b99
blaze822: blaze822_addr: rewrite address parsing
...
This hopefully fixes many bugs and subtleties related to extracting
adresses.
7 years ago
Leah Neukirchen
ed16bee191
mseq: create tmpfile O_EXCL to detect multiple mseq -S in a pipeline
7 years ago
Leah Neukirchen
5f500a9134
contrib/mverify: fix quoting
7 years ago
Leah Neukirchen
3ee9525824
add contrib/mraw
7 years ago
Leah Neukirchen
6f3fa0d78b
mcom: avoid xargs
7 years ago
Leah Neukirchen
88a87a361a
add mbnc to bounce messages
7 years ago
Leah Neukirchen
a6243d7a2f
mless: drop PATH change
7 years ago
Leah Neukirchen
d1d2a41baf
mverify: drop dependency on unix2dos and bash
7 years ago
Leah Neukirchen
48a3769f34
mverify: use -r for plain text signatures
7 years ago
Leah Neukirchen
e89e6f835d
mless: allow overriding of colors in colorscan
...
Fixes #81 .
7 years ago
Leah Neukirchen
af7d6750fd
mlist: listarg: list empty Maildirs if no filtering took place
7 years ago
Leah Neukirchen
3ebd4cc3a3
mlist: list: update total count too
7 years ago
Leah Neukirchen
6310898b10
mshow: list, reply: skip leading spaces for file names
7 years ago
Leah Neukirchen
4fef01ab6d
rfc2047: blaze822_decode_rfc2047: check for NUL bytes at the very end of decoding
7 years ago
Leah Neukirchen
ba4a0cf589
rfc2047: blaze822_decode_rfc2047: don't decode encoded-words that contain NUL bytes
...
This is a lax interpretation of RFC 2047, 4.5:
> Only printable and white space character data should be encoded using
> this scheme. However, since these encoding schemes allow the
> encoding of arbitrary octet values, mail readers that implement this
> decoding should also ensure that display of the decoded data on the
> recipient's terminal will not cause unwanted side-effects.
Since many of the code that deals with header values does not support
inline NUL bytes, it's best to not decode them here.
We check for this after iconv, so quoted-printable UTF-32 e.g. should be
safe.
Also see https://www.mailsploit.com/
7 years ago
Leah Neukirchen
4d40475364
mscan: fetch window size from /dev/tty
...
Fixes mscan width inside mless.
7 years ago
Leah Neukirchen
3e6f8047a6
u8decode: detect invalid encodings
7 years ago
Leah Neukirchen
73641367db
revamp utf-8 handling code
7 years ago
Duncaen
8b50a794b0
magrep: keep threading while matching body
7 years ago
Leah Neukirchen
bb15eac90f
GNUmakefile: prefer CFLAGS from env, move hardening to overridable default flags
7 years ago
Duncaen
a604469303
t: add test case for latest magrep crash
...
This crash was reported in #76 and resolved with
commit 6239ef35357824308df079bd6df0dc4b202e898.
7 years ago
Leah Neukirchen
e6239ef353
rfc2047: blaze822_decide_rfc2047: ensure enough space for NUL-termination
...
Closes #76 .
7 years ago
Leah Neukirchen
d46f65d38c
mflow: flowed: ensure progress by printing at least one word each time
...
Even if this overflows the line length...
7 years ago
Leah Neukirchen
c1fcb246bb
mflow: flowed: reevaluate termination after line break.
7 years ago
Leah Neukirchen
5131b4305f
mscan: display TO: address decode
7 years ago
Leah Neukirchen
00a1382175
mlist: use a static buffer, clean up control flow
7 years ago
Duncaen
4e7a5c5ab6
mpick: add negations
7 years ago
Leah Neukirchen
6a074d7451
mmsg.7: consistently speak of sequences and ranges
7 years ago
Leah Neukirchen
06c9f23365
mshow: use %ld for longs
7 years ago
Leah Neukirchen
be6bbf6056
blaze822: blaze822_addr: ensure strlen is not run on null pointer
...
Found by Larry Hynes.
7 years ago
Leah Neukirchen
5fe0003c98
mscan: revert width to int
7 years ago
Leah Neukirchen
88bde0af33
mshow: render_mime: fix logic bug
7 years ago
Leah Neukirchen
1748c0f52a
mhdr: do not return void values
7 years ago
Leah Neukirchen
5f45b7d533
use appropriate integer types
...
Mainly found with clang -Wconversion -Wshorten-64-to-32.
7 years ago