[PATCH 0/6] detect dumb HTTP pack file corruption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series tries to better detect and avoid corrupted pack and idx
files downloaded over the dumb HTTP transport.  It addresses the
GitHub repository maintainence causing corruption issue reported
today by Christian Halstrick.

Shawn O. Pearce (6):
  http.c: Remove bad free of static block
  t5550-http-fetch: Use subshell for repository operations
  http.c: Tiny refactoring of finish_http_pack_request
  http.c: Drop useless != NULL test in finish_http_pack_request
  http-fetch: Use index-pack rather than verify-pack to check packs
  http-fetch: Use temporary files for pack-*.idx until verified

 cache.h               |    3 +-
 http.c                |  118 +++++++++++++++++++++++++++++++++----------------
 http.h                |    1 -
 pack-check.c          |   15 +++++--
 pack.h                |    1 +
 sha1_file.c           |   17 +++++--
 t/t5550-http-fetch.sh |   37 ++++++++++++++-
 7 files changed, 140 insertions(+), 52 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]