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

dmeden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 78df51db0d CID-1550426: Uninitialized scalar variable Fix. (#11531)
78df51db0d is described below

commit 78df51db0dc9d1ba56c1a028e42fa635b99dbd2e
Author: Damian Meden <[email protected]>
AuthorDate: Wed Jul 10 17:15:57 2024 +0200

    CID-1550426: Uninitialized scalar variable Fix. (#11531)
---
 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 8cc9e60cd9..4aa8138836 100644
--- a/src/iocore/net/UnixUDPNet.cc
+++ b/src/iocore/net/UnixUDPNet.cc
@@ -408,6 +408,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

Reply via email to