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

Re: [PATCH 0/1] banned.h: fix vsprintf warning

From
APAndrey Portnoy <aportnoy@ucsd.edu>
Date
Aug 26, 2019, 19:06 UTC
Message-ID
<E17AF17D-AF64-4791-A38A-6510923005FC@ucsd.edu>
In-Reply-To
<20190826183317.GB23399@sigill.intra.peff.net>
Show 18 quoted lines
> On Aug 26, 2019, at 11:33 AM, Jeff King <peff@peff.net> wrote:
> 
> On Mon, Aug 26, 2019 at 09:24:10AM -0700, Junio C Hamano wrote:
> 
>> "Andrey Portnoy via GitGitGadget" <gitgitgadget@gmail.com> writes:
>> 
>>> Previously sprintf was the argument to the BANNED macro, where vsprintf is
>>> expected.
>> 
>> Good eyes.  Thanks.
> 
> There's an identical patch in:
> 
>  https://public-inbox.org/git/cab687db8315dd4245e1703402a8c76218ee1115.1566762128.git.me@ttaylorr.com/
> 
> and both were inspired by:
> 
>  https://news.ycombinator.com/item?id=20793298
Nope, mine was not “inspired by” that comment, noticed the bug myself. I did look at this header because it was posted on HN, though.
Show 11 quoted lines
> 
> whose author has little info there, but I think is separate from either
> submitter.
> 
> I don't know if we want to try to spread credit around via trailers.
> "Racily-implemented-by:" ? :)
> 
> Anyway, the original bug is mine and the patch is obviously correct.
> 
> -Peff
> 
Previous: Junio C HamanoNext: Andrey Portnoy
Message 7 of 8 in “banned.h: fix vsprintf warning”
  1. 0/1 banned.h: fix vsprintf warningAndrey Portnoy via GitGitGadget, Aug 26, 2019
  2. 1/1 banned.h: fix vsprintf warningAndrey Portnoy via GitGitGadget, Aug 26, 2019
  3. Junio C HamanoAug 26, 2019
  4. Jeff KingAug 26, 2019
  5. Taylor BlauAug 26, 2019
  6. Junio C HamanoAug 27, 2019
  7. Andrey PortnoyAug 26, 2019
  8. Andrey PortnoyAug 26, 2019

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.