5 years ago 13f977b460 Stefan Sperling
Set output to NULL if got_object_parse_tree() fails.
5 years ago 6f3efa55b1 Stefan Sperling
remove unused declarations
5 years ago 8fa9fd14da Stefan Sperling
remove unnecessary cast
5 years ago 73b7854a86 Stefan Sperling
handle error imsg directly in got_privsep_recv_imsg()
5 years ago 46de5bfd04 Stefan Sperling
wrap overlong line
5 years ago 96732e0bd8 Stefan Sperling
fix error handling in got_pack_stop_privsep_child()
5 years ago e93cd8287a Stefan Sperling
fix imsg_compose() error check in got_privsep_send_error()
5 years ago 84453469f5 Stefan Sperling
make 'got log' and 'got tree' bail out cleanly upon Ctrl-C
5 years ago 9489f1f77a Stefan Sperling
avoid use-after-free via got_object_idset_for_each()
5 years ago d14519756a Stefan Sperling
add custom error code for 'no such tree entry' errors
5 years ago 91a3d81fcf Stefan Sperling
introduce got errors with custom messages; add one for ERR_NO_OBJ
5 years ago 80d5f1347d Stefan Sperling
don't be noisy on stderr when Ctrl-C is hit
5 years ago 99437157b9 Stefan Sperling
abort checkout operations cleanly when Ctrl-C is hit
5 years ago b2f7af546d Stefan Sperling
like libgit2's c15771104 (delta: fix overflow when computing limit)
5 years ago 5350974567 Stefan Sperling
test for libgit2's out-of-bounds read of delta bug
5 years ago 89817b3089 Stefan Sperling
test for git's "Fix big left-shifts of unsigned char" delta bug
5 years ago 34fca9c35c Stefan Sperling
bounds checks before memcpy in got_delta_apply_in_mem()
5 years ago 246e1c78b7 Stefan Sperling
prevent free of bogus pointers via fetch_commits_from_open_branches()
5 years ago 5e50c36a5a Stefan Sperling
remove premature optimization which resulted in buggy logic
5 years ago b9c3392628 Stefan Sperling
avoid unnecessary memcpy in got_privsep_send_commit()
5 years ago a58a49db3d Stefan Sperling
avoid unnecessary memcpy in got_privsep_send_tree()
5 years ago 68bf1b1e46 Stefan Sperling
unnecessary repeated strlen() in parse_tree_entry()
5 years ago c3b78ecc08 Stefan Sperling
no need to zero tree during allocation in got_privsep_recv_tree()
5 years ago 291624d8a1 Stefan Sperling
kill more unnecessary memcpy in privsep.c
5 years ago c0588d8daf Stefan Sperling
avoid unnecessary memcpy in got_privsep_recv_tree()