Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#11621 closed Patch - Bug Fix (fixed)

Initialize m_bProtected in HTTPRequest ctor - Fixes coverity 700944

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

Description

Initialize m_bProtected in HTTPRequest ctor

Nominally m_bProtected will be initialized when the header is parsed, but initializing in the ctor will make coverity happy.

Fixes coverity 700944

github ref: https://github.com/garybuhrmaster/mythtv/commit/363a5f544acb0634b63b128916efc0594a164401

github git-am ref: https://github.com/garybuhrmaster/mythtv/commit/363a5f544acb0634b63b128916efc0594a164401.patch

Change History (2)

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

Owner: set to Gary Buhrmaster <gary.buhrmaster@…>
Resolution: fixed
Status: newclosed

In 386819e0142a2aacab1f229a0a23b6e7e0db266d/mythtv:

Initialize m_bProtected in HTTPRequest ctor

m_bProtected will be set to the appropriate value
when the header is fully received.

Fixes coverity 700944

Fixes #11621.

Signed-off-by: Paul Harrison <pharrison@…>

comment:2 Changed 5 years ago by paulh

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