monero/tests/unit_tests
Doyle 438b84690e 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-20 10:21:21 +10:00
..
account.cpp
address_from_url.cpp
aligned.cpp
apply_permutation.cpp
base58.cpp
block_queue.cpp
block_reward.cpp
blockchain_db.cpp
bootstrap_node_selector.cpp
bulletproofs.cpp
canonical_amounts.cpp
chacha.cpp
checkpoints.cpp
CMakeLists.txt
command_line.cpp
crypto.cpp
decompose_amount_into_digits.cpp
device.cpp
difficulty.cpp
dns_resolver.cpp
epee_boosted_tcp_server.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
epee_levin_protocol_handler_async.cpp
epee_utils.cpp
expect.cpp
fee.cpp
get_xtype_from_string.cpp
hardfork.cpp
hashchain.cpp
hmac_keccak.cpp
http.cpp
is_hdd.cpp
json_serialization.cpp
keccak.cpp
levin.cpp
lmdb.cpp
logging.cpp
long_term_block_weight.cpp
main.cpp
memwipe.cpp
mlocker.cpp
mnemonics.cpp
mul_div.cpp
multiexp.cpp
multisig.cpp
net.cpp
node_server.cpp Merge pull request #6214 2020-03-31 13:32:55 -05:00
notify.cpp
output_distribution.cpp
output_selection.cpp
parse_amount.cpp
pruning.cpp
random.cpp
ringct.cpp
ringdb.cpp
rolling_median.cpp
rpc_version_str.cpp rpc: Only show version string if it matches expected pattern 2019-11-12 18:19:24 -07:00
serialization.cpp
sha256.cpp
slow_memmem.cpp
subaddress.cpp
test_notifier.cpp
test_peerlist.cpp
test_protocol_pack.cpp
test_tx_utils.cpp
threadpool.cpp
unbound.cpp
unit_tests_utils.h
uri.cpp
varint.cpp
vercmp.cpp
wipeable_string.cpp wipeable_string: split - treat CR, LF and Tabs as separators 2020-02-12 21:16:07 +00:00
zmq_rpc.cpp