mirror of https://git.zx2c4.com/cgit/
shared.c: avoid SEGFAULT when checking for binary buffers
Before calling buffer_is_binary() we need to verify that the buffer is valid. Signed-off-by: Lars Hjemli <hjemli@gmail.com>lh/pretty-blob-view
parent
ae1d4d75b2
commit
481ce5e298
Loading…
Reference in New Issue