git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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...

Previous: Linus TorvaldsNext: Linus Torvalds
Message 4 of 5 in “Fix buffer overflow in ce_flush().”
  1. Fix buffer overflow in ce_flush().Qingning Huo, Sep 11, 2005
  2. Junio C HamanoSep 11, 2005
  3. Linus TorvaldsSep 11, 2005
  4. Junio C HamanoSep 11, 2005
  5. Linus TorvaldsSep 11, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.