arvidn
|
6be8b395da
|
some cleanup turning memcmp() and memcpy() into span comparisons and std::copy(). some more use of random_bytes() instead of loops.
|
2018-11-05 18:52:45 +01:00 |
arvidn
|
a0fa0b14bb
|
merged RC_1_1 into master
|
2018-11-04 19:12:22 +01:00 |
Arvid Norberg
|
939b380fda
|
fix build against boost-1.69
|
2018-11-02 11:10:26 +01:00 |
arvidn
|
7444c12c6c
|
upgrade test_bdecode to use the new bdecode API
|
2017-09-28 19:38:33 -07:00 |
arvidn
|
05b5b4ef4d
|
merged RC_1_1 into master
|
2017-08-16 22:46:47 +02:00 |
arvidn
|
fcb9c7b6f3
|
fix invalid read in parse_int() in bdecode_node() and lazy_bdecode()
|
2017-08-15 00:01:37 +02:00 |
Steven Siloti
|
ec2fb91aa5
|
reject put messages with incorrect bencoding (#2118)
add function to check for soft bdecode errors. reject put messages with incorrect bencoding
|
2017-07-02 18:30:32 -04:00 |
arvidn
|
2b91b1070d
|
merged RC_1_1 into master
|
2017-06-24 12:37:13 -04:00 |
Steven Siloti
|
ec30a5e9ec
|
fix out-of-bounds read in bdecode
Fixes #2099
|
2017-06-24 10:52:49 -04:00 |
arvidn
|
d138f02424
|
introduce lt namespace alias
|
2017-04-23 23:43:58 -04:00 |
Arvid Norberg
|
6148984426
|
remove whitespace at end of line (#1245)
|
2016-10-22 11:47:24 -04:00 |
arvidn
|
1c89fcda48
|
merge RC_1_1 into master
|
2016-10-08 14:17:51 -04:00 |
Arvid Norberg
|
48a647a169
|
String view entry (#1147)
make entry support string_view in its interface, and make it efficient when in in C++14
|
2016-09-24 06:10:54 -07:00 |
Arvid Norberg
|
9c2325ff6b
|
modernize and improve type-safety of the DHT put implementation and test (#929)
modernize and improve type-safety of the DHT put implementation and tests. use unique_ptr instead of malloc for dht put items.
|
2016-07-23 15:57:04 -07:00 |
Arvid Norberg
|
770935cd46
|
modernize-use-nullptr (#894)
|
2016-07-09 16:26:26 -04:00 |
Arvid Norberg
|
ed077c8358
|
use cstdint intead of boost/cstdint.hpp (#833)
use cstdint intead of boost/cstdint.hpp
|
2016-06-18 14:01:38 -04:00 |
Arvid Norberg
|
e8380e1d0b
|
factor out includes from config.hpp into the files actually using it. primarily, printf family of functions, since C++11 version is used now. This removes the need for an snprintf-wrapper on windows (#732)
|
2016-05-17 09:24:06 -04:00 |
arvidn
|
54bf83739d
|
fix assert in bdecode assert for strings with prefixes of 6 or more digits
|
2015-12-12 00:19:13 -05:00 |
arvidn
|
ffa870d280
|
fixed some GCC warnings
|
2015-08-20 01:33:20 +02:00 |
arvidn
|
52b4aed466
|
merge bdecode patch from RC_1_0. an empty string now produces an error rather than an empty bdecoded struct
|
2015-07-30 21:29:22 -04:00 |
Arvid Norberg
|
d8c0632c78
|
add some bdecoding unit tests
|
2015-06-02 03:06:48 +00:00 |
Arvid Norberg
|
c8443d0c7c
|
msvc fixes
|
2015-05-31 12:21:16 +00:00 |
Arvid Norberg
|
f9c9d0ad0d
|
merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile.
|
2015-05-30 04:31:23 +00:00 |
Arvid Norberg
|
baaeac7809
|
extend some unit tests. primarily test_alert_manager and fixed a bug in alert_manager
|
2015-04-11 18:44:43 +00:00 |
Arvid Norberg
|
6c1df7eb55
|
landed the bdecode branch in master. lazy_bdecode/lazy_entry is now being replaced by bdecode/bdecode_node
|
2015-03-12 05:20:12 +00:00 |