Re: [PATCH 1/2] sideband.c: Use xmalloc() instead of variable-sized arrays.
From: Nicolas Pitre <hidden> Date: 2016-06-15 22:44:03
On Tue, 8 Jan 2008, Junio C Hamano wrote:
How about using a constant large enough slop? It is not like
PREFIX and SUFFIX are different vastly between calls.
The size of the buffer is certainly bounded since the prefix length is
constant, the buffer size is constant, and both possible suffixes are
also constants.
Nicolas