git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Possible Bug] Use of write on size-limited platforms
@ 2020-06-08 21:41 Randall S. Becker
  2020-06-15 21:59 ` Jeff King
  0 siblings, 1 reply; 6+ messages in thread
From: Randall S. Becker @ 2020-06-08 21:41 UTC (permalink / raw)
  To: git

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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-19 19:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-08 21:41 [Possible Bug] Use of write on size-limited platforms Randall S. Becker
2020-06-15 21:59 ` Jeff King
2020-06-15 22:38   ` Randall S. Becker
2020-06-16  8:02     ` Jeff King
2020-06-19 15:05       ` Randall S. Becker
2020-06-19 19:35         ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).