Commit Graph

943 Commits

Author SHA1 Message Date
moneromooo-monero de01cb77d5
fuzz_tests: add a test for utf8canonical 2021-01-17 12:59:03 +03:00
codesoap 5d96c2c014
readline_buffer: Avoid consecutive duplicates in the history 2021-01-17 12:58:51 +03:00
moneromooo-monero c8cd83030c
storages: overridable limits for loading portable_storage from binary 2021-01-08 08:48:00 +03:00
Lee Clagett fcac2ad95d
Restrict duplicate keys in epee binary format 2021-01-07 09:13:27 +03:00
moneromooo-monero f8e05b3003
epee: also limit number of strings in portable_storage
They require at least 24 bytes
2021-01-07 09:12:33 +03:00
moneromooo-monero f02e91ef83
add a max levin packet size by command type 2021-01-04 09:46:18 +03:00
moneromooo-monero 9289bd9493
portable_storage: better sanity checking 2021-01-04 09:43:15 +03:00
MoneroArbo 6ddc174595
Add command to sign freebsd assert file for gitian
Add FreeBSD to "Signing assert files" section of gitian readme / guide
2021-01-02 11:02:35 +03:00
SChernykh 5de14c44ec
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
2021-01-02 11:02:20 +03:00
Lee Clagett 6a2abebb94
Restrict duplicate keys in epee binary format 2021-01-02 10:59:36 +03:00
xiphon 6675069dcf
portable_storage: forbid unnamed sections 2021-01-02 10:59:22 +03:00
moneromooo 6375b913d9
portable_storage: check object limit where appropriate
also fix pedantic off by one in check
2021-01-02 10:58:54 +03:00
Lee Clagett b4206cea5a
Add aggressive restrictions to pre-handshake p2p buffer limit 2021-01-02 10:57:50 +03:00
moneromooo-monero 58404d389c
portable_storage: remove array element limit
some people don't want it
2021-01-02 10:57:01 +03:00
anon 1ec6d5ccda
ssl: buffered handshake detection 2021-01-02 10:56:49 +03:00
moneromooo-monero 6de11d0718
epee: fix some issues using connections after shutdown 2021-01-02 10:56:31 +03:00
moneromooo-monero 63381702d8
portable_storage: remove overly aggressive cutoff 2021-01-02 10:56:06 +03:00
moneromooo-monero a7e3955772
portable_storage: add some sanity checks on data size
especially when allocated size is >> serialized data size
2021-01-02 10:55:24 +03:00
Lee Clagett 8088f8d894
Fix byte_stream::put_n 2021-01-02 10:43:02 +03:00
Howard Chu 08b99c749d
depends: Update OpenSSL to 1.1.1i
Remove some obsolete patches (they were integrated upstream).
Tweak to work with Android support (they second-guess our CC definition, etc).
2020-12-11 07:46:42 +03:00
Lee Clagett 0b8bf308ce
Change epee binary output from std::stringstream to byte_stream 2020-12-11 07:46:14 +03:00
Lee Clagett a3033e741b
Change to more efficient allocation strategy in byte_stream 2020-12-11 07:45:41 +03:00
moneromooo 27cfbe1a22
protocol: drop peers that don't reply to queries 2020-12-09 21:49:04 +03:00
moneromooo f8ec114820
keep only the last seen node on a given host in the white list 2020-12-09 21:48:53 +03:00
moneromooo-monero 6815ddd270
epee: tighten the URL parsing regexp a little
fixes massive amounts of time spent on pathological inputs

Found by OSS-Fuzz
2020-12-04 09:38:42 +03:00
xiphon 711f8c9d34
epee: readline_buffer - fix thread safety, fix sync() after stop() 2020-11-08 00:50:39 +03:00
jwinterm 8345e5b7bc Merge pull request 'upstream' (#336) from wowario/wownero:upstream into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/336
2020-10-19 18:12:35 +00:00
TheCharlatan b6dee49900
Depends: Bump qt to 5.15.1 2020-10-14 12:12:21 +03:00
Howard Chu 51169a6c2d
Force CMAKE_SKIP_RPATH=ON
Fix empty RPATH token issue. Only affects Linux and FreeBSD.
2020-10-14 12:05:06 +03:00
Howard Chu 498436c9b4
Fix lgamma/signgam dependency
This is a new indirect dependency due to the use of poisson_distribution,
introduced in PR#6354 commit 67ade8005
2020-10-14 12:01:44 +03:00
qvqc 5cd3a15491
wowify gitian 0.9 2020-09-22 12:10:26 -04:00
wowario 572d7ea5ef
initial commit 2020-09-19 17:44:34 +03:00
selsta f240b1dd88
build: prepare v0.17 2020-09-14 16:52:42 +02:00
Alexander Blair 44cd8a13ec
Merge pull request #6769
b641e0a2c Add clear method to byte_stream (Lee Clagett)
2020-08-27 12:05:16 -07:00
selsta 7c7ccbd2a5
depends: fix broken links for ds_store / mac_alias 2020-08-20 21:33:23 +02:00
Lee Clagett b641e0a2c0 Add clear method to byte_stream 2020-08-17 21:30:34 -04:00
Alexander Blair 43a4fd9e16
Merge pull request #6736
05ad4fa39 epee: further defending against exceptions in command handlers (moneromooo-monero)
2020-08-16 12:56:35 -07:00
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)
2020-08-16 12:55:25 -07:00
Alexander Blair 7db379cc82
Merge pull request #6720
86abf558c epee: Remove unused functions in local_ip.h (Jean Pierre Dudey)
2020-08-16 12:54:17 -07:00
Alexander Blair 10ad0d7eb2
Merge pull request #6718
85efc88c1 Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test (koe)
2020-08-16 12:53:50 -07:00
Alexander Blair 01b512f3a9
Merge pull request #6716
76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
2020-08-16 12:52:21 -07:00
Alexander Blair 79e93a8af8
Merge pull request #6691
6111689cf cmake: allow custom openssl path on macOS (selsta)
2020-08-16 12:48:07 -07:00
Alexander Blair c6c4ead44e
Merge pull request #6614
fb31167b1 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
2020-08-16 12:44:03 -07:00
Alexander Blair b61a9afa5d
Merge pull request #6500
a07c8abcc Update expat.mk (ArqTras)
2020-08-16 12:40:17 -07:00
moneromooo-monero 05ad4fa397
epee: further defending against exceptions in command handlers 2020-08-02 00:22:47 +00:00
moneromooo-monero 6dd95d5308
epee: guard against exceptions in RPC handlers 2020-07-30 22:52:12 +00:00
rbrunner7 fb31167b12 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command 2020-07-24 07:12:11 +02:00
koe 85efc88c1e Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test 2020-07-23 03:36:05 -05:00
Jean Pierre Dudey 86abf558cb epee: Remove unused functions in local_ip.h
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-07-22 19:06:01 -05:00
xiphon 76c16822d0 wallet2_api: implement runtime proxy configuration 2020-07-20 13:45:12 +00:00