[U-Boot] hashtable: fix length calculation in hexport_r

Tom Rini trini at konsulko.com
Mon Dec 17 12:10:39 UTC 2018


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-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181217/ad9ccc93/attachment.sig>


More information about the U-Boot mailing list