Re: [PATCH] Fix buffer overflow in ce_flush().
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 11, 2005, 18:43 UTC
- Message-ID
- <7vpsrfsavy.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.58.0509111050040.3242@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 7 quoted lines
> On Sun, 11 Sep 2005, Qingning Huo wrote: >> >> Fix buffer overflow in ce_flush(). > > Thanks, good find. However, I'd almost prefer the simpler patch below.. > > Linus
Hmph. I thought ce_flush is not in the fast path so the extra check would not hurt...