Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL characters

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Thursday, May 22, 2008 - 10:44 am

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:


The loop in question iterates over bytes _after_ decoding these encoded
lines, and a typical reason you would encode the payload is because it
contains something not safe over e-mail transfer, e.g. NUL.

I think decode_transfer_encoding() also needs to become safe against NULs
in the payload.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git bug: rebase fatal failure, Tommy Thorn, (Thu May 15, 12:27 am)
Re: git bug: rebase fatal failure, Johannes Schindelin, (Fri May 16, 3:41 am)
Re: git bug: rebase fatal failure, Johannes Schindelin, (Fri May 16, 4:01 am)
[PATCH] mailsplit and mailinfo: gracefully handle NUL char ..., Johannes Schindelin, (Fri May 16, 6:03 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ..., Johannes Schindelin, (Fri May 16, 7:32 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ..., Johannes Schindelin, (Fri May 16, 4:59 pm)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ..., Johannes Schindelin, (Fri May 16, 5:26 pm)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ..., Stephen R. van den Berg, (Sat May 17, 3:07 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ..., Johannes Schindelin, (Sat May 17, 3:18 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ..., Johannes Schindelin, (Thu May 22, 3:38 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ..., Junio C Hamano, (Thu May 22, 10:44 am)
Re: [PATCH] mailsplit and mailinfo: gracefully handle NUL ..., Johannes Schindelin, (Fri May 23, 4:21 am)