Zubair Lutfullah Kakakhel
f1b20acb4a
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>
2018-07-24 09:25:23 -04:00
..
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-07-20 09:33:22 +08:00
2018-05-10 20:38:35 -04:00
2018-07-23 14:33:21 -04:00
2018-06-03 16:10:22 -04:00
2018-06-19 11:55:05 -04:00
2018-05-31 08:53:11 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-07-19 10:49:54 +02:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-10 20:38:35 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-02-14 12:14:11 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2017-04-13 09:41:10 -04:00
2014-12-11 13:18:41 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-07-19 10:49:56 +02:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-07-24 09:25:23 -04:00
2018-06-13 07:49:12 -04:00
2018-05-30 11:59:21 +02:00
2018-05-07 09:34:12 -04:00
2018-06-18 13:55:13 -04:00
2018-05-07 09:34:12 -04:00
2015-07-22 07:30:44 -06:00
2014-09-16 12:23:56 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 10:24:31 -04:00
2018-05-10 20:38:35 -04:00
2018-06-18 13:55:13 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-04-28 18:32:23 -04:00
2016-04-01 17:17:43 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2017-05-12 08:37:18 -04:00
2018-05-07 09:34:12 -04:00
2017-06-01 07:03:12 -06:00
2018-05-07 09:34:12 -04:00
2017-09-14 21:32:59 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-25 20:12:56 -04:00
2018-05-25 20:12:56 -04:00
2018-05-25 20:12:55 -04:00
2018-05-25 20:12:59 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-06-13 07:49:12 -04:00