smart_pkt.c
12.7 KB
-
Verify ref_pkt's are long enough · 5f557780
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); ``` (cherry picked from commit 437ee5a7)
Nelson Elhage committed