On Fri, Dec 14, 2018 at 06:42:51PM +0900, AKASHI Takahiro wrote:
> The commit below incorrectly fixed hexport_r();
> >size = totlen + 1;
> One extra byte is necessary to NULL-terminate a whole buffer, "resp."
>
> Fixes: f1b20acb4a03 ("hashtable: Fix length calculation in hexport_r")
> Signed
On Tue, Jul 17, 2018 at 07:25:38PM +0100, Zubair Lutfullah Kakakhel wrote:
> The length returned by hexport_r has a few redundant characters.
> This appears as NULL characters at the end so seems harmless.
>
> Remove the surplus counts in two places
>
> totlen += strlen(ep->key) + 2;
> I'm guess
2 matches
Mail list logo