Close another potential anti-recursion loophole.
This commit is contained in:
parent
47ce52228b
commit
a56fbc1929
3 changed files with 3 additions and 0 deletions
|
@ -199,6 +199,7 @@ void Peer::received(
|
|||
// 1.1.1 and newer nodes support ECHO, which is smaller -- but 1.1.0 has a bug so use HELLO there too
|
||||
Packet outp(_id.address(),RR->identity.address(),Packet::VERB_ECHO);
|
||||
outp.armor(_key,true);
|
||||
RR->antiRec->logOutgoingZT(outp.data(),outp.size());
|
||||
RR->node->putPacket(localAddr,remoteAddr,outp.data(),outp.size());
|
||||
} else {
|
||||
sendHELLO(localAddr,remoteAddr,now);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue