wownero/contrib
Doyle e0a9633557
ByteSlice: Fix persisting ptr to std::moved SSO buffer
The Bug:
1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_`
2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer)
3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string.
2020-05-25 13:07:28 +03:00
..
brew Add Brewfile to allow for an even easier management of dependencies 2019-04-15 14:46:26 +02:00
codefresh Added Codefresh.yml pipeline 2018-08-08 20:11:04 +03:00
depends update openssl 1.0.2r link 2020-05-04 10:10:12 +03:00
epee ByteSlice: Fix persisting ptr to std::moved SSO buffer 2020-05-25 13:07:28 +03:00
fuzz_testing fuzz_tests: add a bulletproof fuzz test 2018-09-11 13:38:21 +00:00
gitian Merge pull request #6290 2020-03-27 12:29:18 -07:00
lsan contrib: add a suppressions file for leak sanitizer 2019-08-29 11:11:59 +00:00
rlwrap remove obsolete save_graph skeleton code 2019-05-10 14:17:18 +00:00
snap initial commit 2020-04-06 09:09:17 +03:00
valgrind easylogging++: faster access to logging 2018-11-27 13:55:21 +00:00
CMakeLists.txt Update 2019 copyright 2019-03-05 22:05:34 +01:00