瀏覽代碼

Merge pull request #14707 from richardkchapman/mismerge

HPCC-25545 Roxie IpMapOf has a potential dangling reference issue
Richard Chapman 4 年之前
父節點
當前提交
8228522022
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);