reader.c
5.38 KB
-
blob: validate that blob sizes fit in a size_t · c6cac733
Our blob size is a `git_off_t`, which is a signed 64 bit int. This may be erroneously negative or larger than `SIZE_MAX`. Ensure that the blob size fits into a `size_t` before casting.
Edward Thomson committed