diff options
author | Carl Worth <cworth@cworth.org> | 2011-05-31 15:39:26 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-05-31 15:39:26 -0700 |
commit | c6b49ae752e642d779941a63bc65d5107e7010f1 (patch) | |
tree | fa39a8d0b9b68ff22494f1772af49ab5e9ea68fd /notmuch-show.c | |
parent | 6ca7d73239091e8bff7cb05b145c6696d7b5d79a (diff) |
test: Add test showing notmuch corrupts a part with a CRLF pair in it
Since commit 2f8871df6ea3c0b44f85a0fc1b4f58a6b70b0a0e notmuch has been
using a function (show_part_content) originally written only for text
parts to save all MIME parts. The problem with this is that this
function converts CRLF pairs to LF only and optionally converts to
UTF-8 encoding. These two conversions have the potential to corrupt
binary data when passed through the function.
This test demonstrates that corruption, and so fails currently, until
we fix the bug.
Diffstat (limited to 'notmuch-show.c')
0 files changed, 0 insertions, 0 deletions