added compile option to use sanitizer and already fixed a few misalignment errors with it

This commit is contained in:
csoler 2019-05-11 22:25:02 +02:00
parent 941df6120a
commit 6a18e242bb
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
8 changed files with 35 additions and 12 deletions

View file

@ -101,14 +101,20 @@ peerAddrInfo::peerAddrInfo()
}
peerConnectState::peerConnectState()
: connecttype(0),
lastavailable(0),
lastattempt(0),
name(""),
state(0), actions(0),
source(0),
inConnAttempt(0),
wasDeniedConnection(false), deniedTS(false), deniedInConnAttempt(false)
: dhtVisible(false),
connecttype(0),
actAsServer(false),
lastavailable(0),
lastattempt(0),
name(""),
state(0),
actions(0),
linkType(0),
source(0),
inConnAttempt(false),
wasDeniedConnection(false),
deniedTS(0),
deniedInConnAttempt(false)
{
}