Skip to content

Commit

Permalink
Initialize m_bProtected in HTTPRequest ctor
Browse files Browse the repository at this point in the history
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@mythtv.org>
  • Loading branch information
garybuhrmaster authored and Paul Harrison committed Jul 1, 2013
1 parent 351c36a commit 386819e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythupnp/httprequest.cpp
Expand Up @@ -133,6 +133,7 @@ HTTPRequest::HTTPRequest() : m_procReqLineExp ( "[ \r\n][ \r\n]*" ),
m_eContentType ( ContentType_Unknown),
m_nMajor ( 0 ),
m_nMinor ( 0 ),
m_bProtected ( false ),
m_bSOAPRequest ( false ),
m_eResponseType ( ResponseTypeUnknown),
m_nResponseStatus( 200 ),
Expand Down

0 comments on commit 386819e

Please sign in to comment.