SChernykh
9ca9f1214a
Fixed issues found by static analysis
...
- rolling_median: tried to free uninitialized pointer in a constructor
- net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv
- bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
3 years ago
anon
7fd140e4f7
async_protocol_handler_config: remove connection correctly
3 years ago
anon
6d5e2106b3
boosted_tcp_server: fix connection lifetime
3 years ago
moneromooo-monero
89fe0e1c81
storages: overridable limits for loading portable_storage from binary
3 years ago
luigi1111
b06ccc0416
Merge pull request #7282
...
5d2dd7a
epee: also limit number of strings in portable_storage (moneromooo-monero)
3 years ago
luigi1111
7ecdc53e11
Merge pull request #7248
...
3c7eec1
add a max levin packet size by command type (moneromooo-monero)
3 years ago
moneromooo-monero
5d2dd7a328
epee: also limit number of strings in portable_storage
...
They require at least 24 bytes
3 years ago
moneromooo-monero
3c7eec152c
add a max levin packet size by command type
3 years ago
moneromooo-monero
0add7ec1cd
portable_storage: better sanity checking
3 years ago
Alexander Blair
2107337999
Merge pull request #7251
...
f0b867b13
Restrict duplicate keys in epee binary format (Lee Clagett)
3 years ago
Alexander Blair
f4e34d50cf
Merge pull request #7249
...
cb296b39b
portable_storage: forbid unnamed sections (xiphon)
3 years ago
Alexander Blair
024783f73a
Merge pull request #7244
...
531069859
portable_storage: check object limit where appropriate (moneromooo)
3 years ago
xiphon
cb296b39bd
portable_storage: forbid unnamed sections
3 years ago
moneromooo
531069859f
portable_storage: check object limit where appropriate
...
also fix pedantic off by one in check
3 years ago
Lee Clagett
7d67a2dde0
Add aggressive restrictions to pre-handshake p2p buffer limit
3 years ago
Alexander Blair
bcd7f63a54
Merge pull request #7219
...
b39ee13d7
portable_storage: remove array element limit (moneromooo-monero)
3 years ago
anon
b8bc4d77b7
ssl: buffered handshake detection
3 years ago
moneromooo-monero
b39ee13d70
portable_storage: remove array element limit
...
some people don't want it
3 years ago
Alexander Blair
a99d6e56b6
Merge pull request #7193
...
31ae533d6
epee: fix some issues using connections after shutdown (moneromooo-monero)
3 years ago
moneromooo-monero
0fc927dfba
portable_storage: remove overly aggressive cutoff
3 years ago
moneromooo-monero
31ae533d6d
epee: fix some issues using connections after shutdown
3 years ago
moneromooo-monero
d5be31ee21
portable_storage: add some sanity checks on data size
...
especially when allocated size is >> serialized data size
3 years ago
Lee Clagett
f0b867b13d
Restrict duplicate keys in epee binary format
4 years ago
Lee Clagett
cf4461f40b
Fix byte_stream::put_n
4 years ago
Lee Clagett
b641e0a2c0
Add clear method to byte_stream
4 years ago
Alexander Blair
43a4fd9e16
Merge pull request #6736
...
05ad4fa39
epee: further defending against exceptions in command handlers (moneromooo-monero)
4 years ago
Alexander Blair
d73b1b6560
Merge pull request #6727
...
13eee1d6a
rpc: reject wrong sized txid (moneromooo-monero)
92e6b7df2
easylogging++: fix crash with reentrant logging (moneromooo-monero)
6dd95d530
epee: guard against exceptions in RPC handlers (moneromooo-monero)
90016ad74
blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
4 years ago
Alexander Blair
7db379cc82
Merge pull request #6720
...
86abf558c
epee: Remove unused functions in local_ip.h (Jean Pierre Dudey)
4 years ago
Alexander Blair
10ad0d7eb2
Merge pull request #6718
...
85efc88c1
Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test (koe)
4 years ago
Alexander Blair
01b512f3a9
Merge pull request #6716
...
76c16822d
wallet2_api: implement runtime proxy configuration (xiphon)
4 years ago
moneromooo-monero
05ad4fa397
epee: further defending against exceptions in command handlers
4 years ago
moneromooo-monero
6dd95d5308
epee: guard against exceptions in RPC handlers
4 years ago
rbrunner7
fb31167b12
Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command
4 years ago
koe
85efc88c1e
Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test
4 years ago
Jean Pierre Dudey
86abf558cb
epee: Remove unused functions in local_ip.h
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
4 years ago
xiphon
76c16822d0
wallet2_api: implement runtime proxy configuration
4 years ago
Alexander Blair
3ba6c7fd30
Merge pull request #6516
...
8656a8c9f
remove double includes (sumogr)
4 years ago
Alexander Blair
a0d179e528
Merge pull request #6512
...
5ef0607da
Update copyright year to 2020 (SomaticFanatic)
4 years ago
moneromooo-monero
3721d5688f
epee: fix array underflow in unicode parsing
...
Reported by minerscan
Also independently found by OSS-Fuzz just recently
4 years ago
luigi1111
e27604ff10
Merge pull request #6539
...
85164a8
epee: use memwipe rather than memset for md5 secrets (moneromooo-monero)
4 years ago
Lee Clagett
7aeb503547
Fix boost <1.60 compilation and fix boost 1.73+ warnings
4 years ago
moneromooo-monero
85164a8daf
epee: use memwipe rather than memset for md5 secrets
...
That's used by HTTP auth now
4 years ago
selsta
f35ced6d7f
build: fix boost 1.73 compatibility
4 years ago
sumogr
8656a8c9ff
remove double includes
4 years ago
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
4 years ago
Lee Clagett
c26c93019a
Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.
4 years ago
luigi1111
c9b800a787
Merge pull request #6446
...
e509ede
trezor: adapt to new passphrase mechanism (ph4r05)
4 years ago
Dusan Klinec
e509ede2aa
trezor: adapt to new passphrase mechanism
...
- choice where to enter passphrase is now made on the host
- use wipeable string in the comm stack
- wipe passphrase memory
- protocol optimizations, prepare for new firmware version
- minor fixes and improvements
- tests fixes, HF12 support
4 years ago
luigi1111
cfc0f4a7fa
Merge pull request #6351
...
81c5943
Remove temporary std::string creation in some hex->bin calls (vtnerd)
5fcc23a
Move hex->bin conversion to monero copyright files and with less includes (vtnerd)
3387f0e
Reduce template bloat in hex->bin for ZMQ json (vtnerd)
4 years ago
luigi1111
c4f75fe898
Merge pull request #6339
...
c61abf8
remove empty statements (shopglobal)
4 years ago