diff_print: return out-of-memory situation when printing binary
We currently don't check for out-of-memory situations on exiting `format_binary` and, as a result, may return a partially filled buffer. Fix this by checking the buffer via `git_buf_oom`.
Showing
Please
register
or
sign in
to comment