mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 5b6d2ff29fc0cf6e837c7136a45176af4b067a5c
parent 4d2607fe215a5124e869e8e15c57b9aa16c4879a
Author: Leah Neukirchen <leah@vuxu.org>
Date:   Mon, 12 Jun 2017 14:57:06 +0200

rfc2231: blaze822_mime2231_parameter: ensure plain file names are null terminated

Diffstat:
rfc2231.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/rfc2231.c b/rfc2231.c @@ -83,6 +83,7 @@ found_plain: memcpy(dst, sbuf, ebuf - sbuf); dst += ebuf - sbuf; } + *dst = 0; } else { break; }