Commit Graph

14 Commits (master)

Author SHA1 Message Date
jmjatlanta c434fbd160 Fixed warnings 2017-07-17 16:13:53 -05:00
John Jones 86d3cd422e Fixed memory leak and most compiler warnings 2017-07-17 15:11:08 -05:00
John Jones 58a6240af9 Fixed bug on odd byte ip addresses
IP addresses that when converted to an integer ended up as a string with
an odd number of bytes would result in a memory read into invalid
memory. Zero filled the text string representation of the bytes to avoid
this issue.
2017-07-13 18:29:02 -05:00
John Jones d6877b995c Fixed initialization bug 2017-04-17 14:36:16 -05:00
John Jones 603ed1d72f Fixed multiaddress_get_peer_id to return allocated memory
Returing in place causes problems with continuations i.e. ending
slashes. Therefore it is better to return allocated memory.
2017-04-17 11:56:36 -05:00
John Jones f0961a247f Multiaddress stability fixes 2017-04-16 23:46:07 -05:00
John Jones c96c1db14c Now handling zeros in address correctly 2017-04-13 09:29:44 -05:00
John Jones 4cbcf6be3d Test that proves MultiAddress not handling 0s properly 2017-04-03 22:01:46 -05:00
John Jones 615adc86ef Added ability to parse out peer id 2017-04-03 11:54:15 -05:00
John Jones e914307a4d Added some utility methods to make parsing easier 2017-03-09 18:20:56 -05:00
John Jones 7da26ca04d Minor tweak to get rid of compiler warning 2017-02-22 10:54:16 -05:00
xethyrion 6274997560 Fixed everything.. as far as I can tell.. 2017-02-22 07:17:09 +02:00
John Jones 0b8789ebbc Bug fixes 2017-02-20 17:45:48 -05:00
John Jones 4e281ddd08 Added testing framework 2017-02-20 15:58:19 -05:00