Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#11589 closed Patch - Bug Fix (fixed)

Patch to initialize m_off member variable in rtpdatapacket.h - fixes coverity 746870

Reported by: Gary Buhrmaster <gary.buhrmaster@…> Owned by: danielk
Priority: minor Milestone: 0.27
Component: MythTV - Recording Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Static analysis (scan-build and coverity) noted that the m_off variable in the RTPDataPacket class is not initialized for UDPPackets, which are used in RTPPacketBuffer::PushDataPacket?

Fixes coverity 746870

Patch: https://github.com/garybuhrmaster/mythtv/commit/86410ede4625c881fde68ad34210711cf1f81983.patch

Change History (2)

comment:1 Changed 5 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Resolution: fixed
Status: newclosed

In f25dc5da882ababac8ebf2958ac07f941f31123b/mythtv:

Initialize m_off member variable

Static analysis (scan-build and coverity) noted that
the m_off variable in the RTPDataPacket class is not
initialized for UDPPackets, which are used in
RTPPacketBuffer::PushDataPacket?

Fixes coverity 746870
(cherry picked from commit 86410ede4625c881fde68ad34210711cf1f81983)

Fixes #11589

Signed-off-by: Stuart Morgan <smorgan@…>

comment:2 Changed 5 years ago by paulh

Milestone: unknown0.27
Note: See TracTickets for help on using tickets.