summaryrefslogtreecommitdiff
path: root/tests/diff/blob.c
diff options
context:
space:
mode:
authorNelson Elhage <nelhage@nelhage.com>2018-06-24 06:51:31 +0000
committerNelson Elhage <nelhage@nelhage.com>2018-06-24 21:44:06 +0000
commit0098d7464727bfe5f844b0243b2448543ba4fdbd (patch)
tree4ad56e5bc360c0f1ec4ed71ecd2b5adfcb419d29 /tests/diff/blob.c
parente212011b9872c52f6205d3a30b10f753c3108918 (diff)
downloadlibgit2-0098d7464727bfe5f844b0243b2448543ba4fdbd.tar.gz
Fix type confusion in git_smart__connect
Nothing verifies that t->refs[0] is a GIT_PKT_REF. A remote can send another packet type, ultimately resulting in a type confusion in `git_smart__detect_caps`
Diffstat (limited to 'tests/diff/blob.c')
0 files changed, 0 insertions, 0 deletions