Re: [PATCH] fetch--tool: fix uninitialized buffer when reading from stdin
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 26, 2007, 17:27 UTC
- Message-ID
- <Pine.LNX.4.63.0702261827050.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <Pine.LNX.4.64.0702260905420.12485@woody.linux-foundation.org>
Hi,
On Mon, 26 Feb 2007, Linus Torvalds wrote:
Show 8 quoted lines
> On Mon, 26 Feb 2007, Johannes Schindelin wrote: > > > > But I agree your patch is saner. > > Well, it's not the "saner" I'm worried about, I was more worried about > the fact that your patch added random '\0' characters in the middle of > the stdin input if it was ever bigger than CHUNK_SIZE. I suspect you > only tested with small input to stdin.
Ooops. I did not even realize that after reading your reply.
Ciao, Dscho