Files
git/builtin
Junio C Hamano 3bfcb95fa8 receive-pack: do not overallocate command structure
An "update" command in the protocol exchange consists of 40-hex old
object name, SP, 40-hex new object name, SP, and a refname, but the
first instance is further followed by a NUL with feature requests.

The command structure, which has a flex-array member that stores the
refname at the end, was allocated based on the whole length of the
update command, without excluding the trailing feature requests.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-09-15 13:23:18 -07:00
..
2014-07-16 11:10:11 -07:00
2014-07-28 11:30:41 -07:00
2014-07-22 10:59:37 -07:00
2014-07-16 11:25:40 -07:00
2014-07-23 11:35:54 -07:00
2014-06-16 10:07:15 -07:00
2014-07-22 10:59:25 -07:00
2014-01-17 12:21:20 -08:00
2014-07-09 11:34:05 -07:00
2014-07-09 11:34:05 -07:00
2014-07-16 13:06:41 -07:00
2014-06-25 11:47:36 -07:00
2014-07-21 12:35:39 -07:00
2014-07-16 11:33:09 -07:00
2014-07-16 11:25:40 -07:00
2014-06-03 12:06:41 -07:00
2014-07-21 11:18:37 -07:00
2014-07-16 11:26:00 -07:00
2014-07-27 15:14:18 -07:00
2014-04-30 10:30:02 -07:00
2014-07-16 11:25:40 -07:00
2014-07-28 11:30:41 -07:00
2014-01-17 12:21:20 -08:00
2014-07-23 11:35:45 -07:00
2014-07-16 11:25:40 -07:00