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

Re: Memory overrun in http-push.c

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 1, 2007, 21:54 UTC
Message-ID
<20070301215455.GC9254@spearce.org>
In-Reply-To
<81b0412b0703011343je4de3b6ra5c1d577da041dcf@mail.gmail.com>
Alex Riesen <raa.lkml@gmail.com> wrote:
Show 12 quoted lines
> Wont work. The ids in question are really strings embedded into object.
> Something like:
> 
>  $Id 1.2 user filename.c$
> 
> They can be found, extracted from the binary and sent to developer
> with a bug report. It's more of a build signature.
> IOW, the colleague in question has to have the source, which,
> I suspect, he wont.
> 
> Of course, it's very simple to embed the HEAD into build and
> tell the tester to send the SHA-1 in case of bug report.

Yes. Either the commit SHA-1 or the output of git-describe does the trick. Even better when your program prints this value on demand, like say `git version`. ;-)

Before programmers got smart and wrote switches to dump the version (aka -v/-V/--version) users were expected to use `strings frob | grep '$Id' | mail baddev@example.com` to send in bug reports. What a world we live in! ;-)

-- 
Shawn.
Previous: Alex RiesenNext: Uwe Kleine-König
Message 29 of 39 in “Memory overrun in http-push.c”
  1. Eygene RyabinkinFeb 28, 2007
  2. Andy ParkinsFeb 28, 2007
  3. Johannes SchindelinFeb 28, 2007
  4. Eygene RyabinkinMar 1, 2007
  5. Alex RiesenMar 1, 2007
  6. Eygene RyabinkinMar 1, 2007
  7. Alex RiesenMar 1, 2007
  8. Eygene RyabinkinMar 1, 2007
  9. Junio C HamanoMar 1, 2007
  10. Alex RiesenMar 1, 2007
  11. Andy ParkinsMar 1, 2007
  12. Eygene RyabinkinMar 1, 2007
  13. Junio C HamanoMar 1, 2007
  14. Eygene RyabinkinMar 1, 2007
  15. Johannes SchindelinMar 1, 2007
  16. Andy ParkinsMar 1, 2007
  17. Johannes SchindelinMar 1, 2007
  18. Andy ParkinsMar 1, 2007
  19. Johannes SchindelinMar 1, 2007
  20. Andy ParkinsMar 2, 2007
  21. Jakub NarebskiMar 2, 2007
  22. Andy ParkinsMar 2, 2007
  23. Johannes SchindelinMar 2, 2007
  24. Andy ParkinsMar 2, 2007
  25. Daniel BarkalowMar 4, 2007
  26. Junio C HamanoMar 4, 2007
  27. Daniel BarkalowMar 4, 2007
  28. Alex RiesenMar 1, 2007
  29. Shawn O. PearceMar 1, 2007
  30. Uwe Kleine-KönigMar 1, 2007
  31. Jakub NarebskiMar 2, 2007
  32. Johannes SchindelinMar 2, 2007
  33. identifying blobs (was Re: Memory overrun in http-push.c)Junio C Hamano, Mar 2, 2007
  34. Linus TorvaldsMar 2, 2007
  35. Andy ParkinsMar 2, 2007
  36. Matthieu MoyMar 2, 2007
  37. Andy ParkinsMar 2, 2007
  38. Florian WeimerFeb 28, 2007
  39. Eygene RyabinkinMar 1, 2007

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.