-
HARDEN: Pass
--before the host inSubprocessSSHVendorso an
argument split by MSYS2's runtime on Windows cannot be parsed as an
sshoption. Reported by EZO Labs Security. (Jelmer Vernooij) -
Fix
PanicExceptionfrom the Rustsorted_tree_itemson trees
whose entry names contain '/'. (Jelmer Vernooij) -
Reject pack indexes whose fanout claims more than 2**31-1 objects on
32-bit platforms with AssertionError rather than OverflowError.
Reported by @lenix123. (Jelmer Vernooij, #2574) -
Add a
timeoutargument toTCPGitClientand
get_transport_and_path, so agit://server that stops
answering no longer blocks a fetch or push forever.
(Zainab Mehmut) -
HARDEN: Reject pack bitmaps that declare more bits than the pack has
objects. A 20-byte EWAH run could otherwise expand into billions of set
entries and exhaust memory. (Jelmer Vernooij) -
Speed up adding received packs in
DiskObjectStore.add_thin_packand
add_packby resolving each object once. A rejected pack no longer
leaves its temporary file behind. (Zainab Mehmut) -
Avoid
AttributeErrorin__del__ofPack,Protocol,
Bundleand other classes when their constructor failed before
setting any attributes. (Jelmer Vernooij)