strbuf: allocate space with GIT_MAX_HEXSZ
authorbrian m. carlson <redacted>
Mon, 16 Jul 2018 01:27:57 +0000 (01:27 +0000)
committerJunio C Hamano <redacted>
Mon, 16 Jul 2018 21:27:39 +0000 (14:27 -0700)
commit4b048c917f9e2cc33771b61b8f12eeac10ea8a51
tree15b601bfa96d1286e84406625efa174e4f752521
parent2770ccbdb23d6a02e60d5df3f70e476b8ea65262
strbuf: allocate space with GIT_MAX_HEXSZ

In order to be sure we have enough space to use with any hash algorithm,
use GIT_MAX_HEXSZ to allocate space.

Signed-off-by: brian m. carlson <redacted>
Signed-off-by: Junio C Hamano <redacted>
strbuf.c
git clone https://git.99rst.org/PROJECT