diff options
author | Randall S. Becker <randall.becker@nexbridge.ca> | 2020-06-19 16:23:19 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-19 13:50:25 -0700 |
commit | f64b6a1f750e65ca90435f714d9350493aad836d (patch) | |
tree | 5bc7af71247250e2ed8400e8b21cceb3a9bc76d1 /t/t7816-grep-binary-pattern.sh | |
parent | git-bugreport.txt: adjust reference to strftime(3) (diff) | |
download | tgif-f64b6a1f750e65ca90435f714d9350493aad836d.tar.xz |
bugreport.c: replace strbuf_write_fd with write_in_full
The strbuf_write_fd method did not provide checks for buffers larger
than MAX_IO_SIZE. Replacing with write_in_full ensures the entire
buffer will always be written to disk or report an error and die.
Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7816-grep-binary-pattern.sh')
0 files changed, 0 insertions, 0 deletions