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

Re: [PATCH] line-log.c: prevent crash during union of too many ranges

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 3, 2017, 19:19 UTC
Message-ID
<xmqqlgsm88yh.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20170302172902.16850-1-allan.x.xavier@oracle.com>
Allan Xavier <allan.x.xavier@oracle.com> writes:
> The existing implementation of range_set_union does not correctly
> reallocate memory, leading to a heap overflow when it attempts to union
> more than 24 separate line ranges.
> ...

I'll add "Reviewed-by: Jeff King <peff@peff.net>" and queue, as I know we already reviewed the change.

Thanks.
Previous: Allan Xavier
Message 2 of 2 in “line-log.c: prevent crash during union of too many ranges”
  1. line-log.c: prevent crash during union of too many rangesAllan Xavier, Mar 2, 2017
  2. Junio C HamanoMar 3, 2017

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.