5 years ago Stefan Sperling
like libgit2's c15771104 (delta: fix overflow when computing limit)
test for libgit2's out-of-bounds read of delta bug
test for git's "Fix big left-shifts of unsigned char" delta bug
bounds checks before memcpy in got_delta_apply_in_mem()
prevent free of bogus pointers via fetch_commits_from_open_branches()
remove premature optimization which resulted in buggy logic
avoid unnecessary memcpy in got_privsep_send_commit()
avoid unnecessary memcpy in got_privsep_send_tree()
unnecessary repeated strlen() in parse_tree_entry()
no need to zero tree during allocation in got_privsep_recv_tree()
kill more unnecessary memcpy in privsep.c
avoid unnecessary memcpy in got_privsep_recv_tree()
avoid tips temp copy in fetch_commits_from_open_branches()
allow got_object_idset_for_each() to return an error
stop messing with the open_branches set in add_node()
tree entries are sorted, so find_entry_by_name() can exit early
make tog always focus a diff view opened from blame view
no need to zero path during allocation in get_packfile_path()
no need to zero got_delta during allocation
remove unnecessary #include
use userspace red-black tree macros, not kernel ones
remove object_idcache; use object_idset instead
implement object idset with a red-black tree
initialize te->mode in parse_tree_entry()
no need to zero object cache entries during allocation