diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2017-12-19 00:43:49 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-02-01 16:50:30 -0800 |
commit | 624614b2d9c8e2c4a4b97065d508d69394e2cbdf (patch) | |
tree | 58cf1011111c06b414aa3af2a36d6f01f4f50878 /tests/diff/diffiter.c | |
parent | 27078e582ed9deee6ed0dac1f8ecabb6bac66c67 (diff) | |
download | libgit2-624614b2d9c8e2c4a4b97065d508d69394e2cbdf.tar.gz |
odb_loose: validate length when checking for zlib content
When checking to see if a file has zlib deflate content, make sure that
we actually have read at least two bytes before examining the array.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions