summaryrefslogtreecommitdiff
path: root/doc/README.android-fastboot-protocol
diff options
context:
space:
mode:
authorZubair Lutfullah Kakakhel <zubair@resin.io>2018-07-17 19:25:38 +0100
committerTom Rini <trini@konsulko.com>2018-07-24 09:25:23 -0400
commitf1b20acb4a03fc6ef5ebff18293287506348955d (patch)
tree4f23c54ccb165181f5516e63353e5235dee5be56 /doc/README.android-fastboot-protocol
parente9ee7398d64796d441067d5456b6e65780d11dbd (diff)
downloadu-boot-f1b20acb4a03fc6ef5ebff18293287506348955d.tar.gz
hashtable: Fix length calculation in hexport_r
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 guessing the +2 here is for = and sep char. But there is another totlen += 2; line that does that. size = totletn + 1; Doesn't make sense and isn't justified with any comment. Signed-off-by: Zubair Lutfullah Kakakhel <zubair@resin.io>
Diffstat (limited to 'doc/README.android-fastboot-protocol')
0 files changed, 0 insertions, 0 deletions