[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.