smart.c
12.7 KB
-
Fix type confusion in git_smart__connect · 0098d746
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`
Nelson Elhage committed