diff options
| author | Nelson Elhage <nelhage@nelhage.com> | 2018-06-24 19:47:08 +0000 |
|---|---|---|
| committer | Nelson Elhage <nelhage@nelhage.com> | 2018-06-24 21:46:36 +0000 |
| commit | 437ee5a70711ac2e027877d71ee4ae17e5ec3d6c (patch) | |
| tree | 2b781e998c1afc9c86f1f0e1464a4a41101fb02e /tests/diff/blob.c | |
| parent | e212011b9872c52f6205d3a30b10f753c3108918 (diff) | |
| download | libgit2-437ee5a70711ac2e027877d71ee4ae17e5ec3d6c.tar.gz | |
Verify ref_pkt's are long enough
If the remote sends a too-short packet, we'll allow `len` to go
negative and eventually issue a malloc for <= 0 bytes on
```
pkt->head.name = git__malloc(alloclen);
```
Diffstat (limited to 'tests/diff/blob.c')
0 files changed, 0 insertions, 0 deletions
