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

Re: [PATCH] progress: don't dereference before checking for NULL

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 10, 2020, 21:57 UTC
Message-ID
<xmqqo8nib1ui.fsf@gitster.c.googlers.com>
In-Reply-To
<20200810194748.1483784-1-martin.agren@gmail.com>
Martin Ågren <martin.agren@gmail.com> writes:
> The progress API handles NULL just fine, but
> that's the NULL-ness of `*p_progress`, e.g., when running with
> `--no-progress`. If `p_progress` is NULL, chances are that's a mistake.
True, true.
Thanks.
Previous: Taylor Blau
Message 5 of 5 in “progress: don't dereference before checking for NULL”
  1. progress: don't dereference before checking for NULLMartin Ågren, Aug 10, 2020
  2. Eric SunshineAug 10, 2020
  3. Martin ÅgrenAug 11, 2020
  4. Taylor BlauAug 11, 2020
  5. Junio C HamanoAug 10, 2020

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.