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

[Possible Bug] Use of write on size-limited platforms

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Jun 8, 2020, 21:41 UTC
Message-ID
<015c01d63ddd$97d65080$c782f180$@nexbridge.com>

I just wanted to check the following calls to make sure that it does not fwrite or write should be xread/xwrite or are guaranteed not to exceed MAX_IO_SIZE:

strbuf.c: strbuf_write, strbuf_write_fd, the size is not specified.
The other uses of read/write appear to be safe.

Thanks, Randall

-- Brief whoami:
 NonStop developer since approximately 211288444200000000
 UNIX developer since approximately 421664400
-- In my real life, I talk too much.
Next: Jeff King
Message 1 of 6 in “[Possible Bug] Use of write on size-limited platforms”
  1. Randall S. BeckerJun 8, 2020
  2. Jeff KingJun 15, 2020
  3. Randall S. BeckerJun 15, 2020
  4. Jeff KingJun 16, 2020
  5. Randall S. BeckerJun 19, 2020
  6. Junio C HamanoJun 19, 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.