Files
git/builtin
Nguyễn Thái Ngọc Duy 0de1633783 tree-walk.c: do not leak internal structure in tree_entry_len()
tree_entry_len() does not simply take two random arguments and return
a tree length. The two pointers must point to a tree item structure,
or struct name_entry. Passing random pointers will return incorrect
value.

Force callers to pass struct name_entry instead of two pointers (with
hope that they don't manually construct struct name_entry themselves)

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-10-27 11:08:26 -07:00
..
2011-10-13 19:03:23 -07:00
2011-10-05 12:36:23 -07:00
2011-06-20 14:27:36 -07:00
2011-08-28 21:20:28 -07:00
2011-10-26 16:16:29 -07:00
2011-09-12 11:43:58 -07:00
2011-10-19 10:49:27 -07:00
2011-10-06 13:54:32 -07:00
2011-10-03 11:55:57 -07:00
2011-10-26 16:16:29 -07:00
2011-09-01 15:46:13 -07:00
2011-05-31 12:19:11 -07:00
2011-10-10 15:56:18 -07:00
2011-08-25 14:42:11 -07:00