Explorar o código

Merge pull request #14707 from richardkchapman/mismerge

HPCC-25545 Roxie IpMapOf has a potential dangling reference issue
Richard Chapman %!s(int64=4) %!d(string=hai) anos
pai
achega
8228522022
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      roxie/udplib/udptrs.cpp

+ 1 - 1
roxie/udplib/udptrs.cpp

@@ -707,7 +707,7 @@ public:
     CSendManager(int server_flow_port, int data_port, int client_flow_port, int sniffer_port, const IpAddress &sniffer_multicast_ip, int q_size, int _numQueues, const IpAddress &_myIP, TokenBucket *_bucket, bool encrypted)
         : bucket(_bucket),
           myIP(_myIP),
-          receiversTable([_myIP, _numQueues, q_size, server_flow_port, data_port](const ServerIdentifier &ip) { return new UdpReceiverEntry(ip.getIpAddress(), _myIP, _numQueues, q_size, server_flow_port, data_port);})
+          receiversTable([_numQueues, q_size, server_flow_port, data_port, encrypted](const ServerIdentifier &ip) { return new UdpReceiverEntry(ip.getIpAddress(), _numQueues, q_size, server_flow_port, data_port, encrypted);})
     {
 #ifndef _WIN32
         setpriority(PRIO_PROCESS, 0, -3);