You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by cm...@apache.org on 2024/07/12 15:20:39 UTC

(trafficserver) 03/08: CID-1550426: Uninitialized scalar variable Fix. (#11531)

This is an automated email from the ASF dual-hosted git repository.

cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit de3690c420750b88d49630abb16f9a059b487bfb
Author: Damian Meden <dm...@apache.org>
AuthorDate: Wed Jul 10 17:15:57 2024 +0200

    CID-1550426: Uninitialized scalar variable Fix. (#11531)
    
    (cherry picked from commit 78df51db0dc9d1ba56c1a028e42fa635b99dbd2e)
---
 src/iocore/net/UnixUDPNet.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/iocore/net/UnixUDPNet.cc b/src/iocore/net/UnixUDPNet.cc
index 1284cbaef6..7136709722 100644
--- a/src/iocore/net/UnixUDPNet.cc
+++ b/src/iocore/net/UnixUDPNet.cc
@@ -407,6 +407,7 @@ UDPNetProcessorInternal::read_single_message_from_net(UDPNetHandler *nh, UDPConn
     msg.msg_namelen         = sizeof(fromaddr);
     msg.msg_iov             = tiovec;
     msg.msg_iovlen          = niov;
+    msg.msg_flags           = 0;
 
     static const size_t cmsg_size{CMSG_SPACE(sizeof(int))
 #ifdef IP_PKTINFO