mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #2920
bd5cce07
network_throttle: fix ineffective locking (moneromooo-monero)e0a61299
network_throttle: remove unused xxx static member (moneromooo-monero)24f584d9
cryptonote_core: remove unused functions with off by one bugs (moneromooo-monero)b1634aa3
blockchain: don't leave dangling pointers in this (moneromooo-monero)8e60b81c
cryptonote_core: fix db leak on error (moneromooo-monero)213e326c
abstract_tcp_server2: log init_server errors as fatal (moneromooo-monero)b51dc566
use const refs in for loops for non tiny types (moneromooo-monero)f0568ca6
net_parse_helpers: fix regex error checking (moneromooo-monero)b49ddc76
check accessing an element past the end of a container (moneromooo-monero)2305bf26
check return value for generate_key_derivation and derive_public_key (moneromooo-monero)a4240d9f
catch const exceptions (moneromooo-monero)45a1c4c0
add empty container sanity checks when using front() and back() (moneromooo-monero)56fa6ce1
tests: fix a buffer overread in a unit test (moneromooo-monero)b4524892
rpc: guard against json parsing a non object (moneromooo-monero)c2ed8618
easylogging++: avoid buffer underflow (moneromooo-monero)187a6ab2
epee: trap failure to parse URI from request (moneromooo-monero)061789b5
checkpoints: trap failure to load JSON checkpoints (moneromooo-monero)ba2fefb9
checkpoints: pass std::string by const ref, not const value (moneromooo-monero)38c8f4e0
mlog: terminate a string at last char, just in case (moneromooo-monero)d753d716
fix a few leaks by throwing objects, not newed pointers to objects (moneromooo-monero)fe568db8
p2p: use size_t for arbitrary counters instead of uint8_t (moneromooo-monero)46d6fa35
cryptonote_protocol: sanity check chain hashes from peer (moneromooo-monero)25584f86
cryptonote_protocol: print peer versions when unexpected (moneromooo-monero)490a5d41
rpc: do not try to use an invalid txid in relay_tx (moneromooo-monero)
This commit is contained in:
commit
2b00899bb2
39 changed files with 197 additions and 191 deletions
|
@ -81,7 +81,6 @@ static const struct {
|
|||
{1,"x",1,"x",0},
|
||||
{2,"x",1,"",1},
|
||||
{1,"x",1,"",0},
|
||||
{1,"x",2,"",0},
|
||||
{1,"x",2,"x",0},
|
||||
{2,"ax",2,"x",0},
|
||||
{1,"xx",2,"xx",0},
|
||||
|
@ -103,7 +102,7 @@ static const struct {
|
|||
{8,"xxxxxxab",3,"xyz",0},
|
||||
{8,"xxxxxxab",6,"abcdef",0},
|
||||
{9,"\0xxxxxab",3,"ab",6},
|
||||
{4,"\0\0a",3,"\0a",1},
|
||||
{4,"\0\0a",3,"\0a",1}, //
|
||||
};
|
||||
|
||||
TEST(slowmem,Success)
|
||||
|
@ -122,7 +121,6 @@ TEST(slowmem,Success)
|
|||
free(pat);
|
||||
free(buf);
|
||||
ASSERT_EQ(res,T[n].res);
|
||||
ASSERT_EQ(1,1);
|
||||
#ifdef VERBOSE
|
||||
if (res!=T[n].res) printf("failed (got %zu, expected %zu)",res,T[n].res); else printf("ok");
|
||||
printf("\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue