Skip to content

Topic/coverity#50

Open
agampa263 wants to merge 3 commits intodevelopfrom
topic/coverity
Open

Topic/coverity#50
agampa263 wants to merge 3 commits intodevelopfrom
topic/coverity

Conversation

@agampa263
Copy link
Contributor

No description provided.

@agampa263 agampa263 requested a review from a team as a code owner May 6, 2025 06:05
@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"strQuery" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""strQuery"")" instead of "strQuery".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:1365

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"appConfigListTemp" is copied in call to copy assignment for class "std::vector<_DynamicAppConfig *, std::allocator<_DynamicAppConfig *> >", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""appConfigListTemp"")" instead of "appConfigListTemp".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCastImplementation.cpp:264

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"modelName" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""modelName"")" instead of "modelName".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCastImplementation.cpp:207

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Memset fill value of '0'

Function "memset" with fill value "'0'" (the zero character) in "memset((void *)pDynamicAppConfig, 48, 14664UL)".

High Impact, CWE-665
NO_EFFECT

How to fix

Did you intend to use 0 (the value zero)?

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCastImplementation.cpp:238

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::Duration" (declared at line 150 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:150

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::Constructor" (declared at line 42 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:42

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Logging::ParsingError" (declared at line 34 of "../../install/usr/include/WPEFramework/messaging/LoggingCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/LoggingCategories.h:34

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

class template "WPEFramework::Messaging::TraceFactoryType" has already been defined

Low Impact, CWE-none
RW.ALREADY_DEFINED

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceFactory.h:34

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"strPayLoad" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""strPayLoad"")" instead of "strPayLoad".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:1364

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"powerState" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""powerState"")" instead of "powerState".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:1453

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Messaging::DirectOutput" (declared at line 31 of "../../install/usr/include/WPEFramework/messaging/DirectOutput.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/DirectOutput.h:31

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Uninitialized pointer field

Non-static class member "mShell" is not initialized in this constructor nor in any functions that it calls.

Medium Impact, CWE-457
UNINIT_CTOR

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCastImplementation.cpp:63

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Logging::Fatal" (declared at line 35 of "../../install/usr/include/WPEFramework/messaging/LoggingCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/LoggingCategories.h:35

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"callsign" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""callsign"")" instead of "callsign".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCastImplementation.cpp:301

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::Text" (declared at line 35 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:35

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::Information" (declared at line 37 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:37

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Large stack use

Local variable "appConfig" uses 14664 bytes of stack space, which exceeds the maximum single use of 10000 bytes.

Low Impact, CWE-400
STACK_USE

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:1363

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Messaging::IEventFactory" (declared at line 27 of "../../install/usr/include/WPEFramework/messaging/TraceFactory.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceFactory.h:27

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::MethodExit" (declared at line 136 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:136

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::Destructor" (declared at line 102 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:102

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

function template "WPEFramework::Trace::Format(Args &&...)" has already been defined

Low Impact, CWE-none
RW.ALREADY_DEFINED

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:33

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::CopyConstructor" (declared at line 62 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:62

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"manufacturerName" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""manufacturerName"")" instead of "manufacturerName".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCastImplementation.cpp:183

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Logging::Crash" (declared at line 36 of "../../install/usr/include/WPEFramework/messaging/LoggingCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/LoggingCategories.h:36

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"friendlyname" is copied in call to copy assignment for class "string", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""friendlyname"")" instead of "friendlyname".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCastImplementation.cpp:148

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::Error" (declared at line 39 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:39

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Logging::Error" (declared at line 33 of "../../install/usr/include/WPEFramework/messaging/LoggingCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/LoggingCategories.h:33

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::Initialisation" (declared at line 36 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:36

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::Fatal" (declared at line 40 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:40

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

class template "WPEFramework::Messaging::BaseCategoryType" has already been defined

Low Impact, CWE-none
RW.ALREADY_DEFINED

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/BaseCategory.h:29

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"appConfigList" is passed-by-value as parameter to "std::vector<_DynamicAppConfig *, std::allocator<_DynamicAppConfig *> >::vector(std::vector<_DynamicAppConfig *, std::allocator<_DynamicAppConfig *> > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""appConfigList"")" instead of "appConfigList".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:1165

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"value" is copied in call to copy assignment for class "string", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""value"")" instead of "value".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:679

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Logging::Shutdown" (declared at line 31 of "../../install/usr/include/WPEFramework/messaging/LoggingCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/LoggingCategories.h:31

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

class template "WPEFramework::Logging::BaseLoggingType" has already been defined

Low Impact, CWE-none
RW.ALREADY_DEFINED

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/Logging.h:36

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Logging::Startup" (declared at line 30 of "../../install/usr/include/WPEFramework/messaging/LoggingCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/LoggingCategories.h:30

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

member "WPEFramework::Messaging::LocalLifetimeType<CATEGORY, MODULENAME, TYPE>::_control" has already been defined

Low Impact, CWE-none
RW.ALREADY_DEFINED

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/Control.h:114

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Messaging::TextMessage" (declared at line 28 of "../../install/usr/include/WPEFramework/messaging/TextMessage.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TextMessage.h:28

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Big parameter passed by value

Passing parameter params of type "JsonObject const" (size 208 bytes) by value, which exceeds the low threshold of 128 bytes.

Low Impact, CWE-398
PASS_BY_VALUE

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCastImplementation.cpp:304

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::AssignmentOperator" (declared at line 82 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:82

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

class template "WPEFramework::Messaging::LocalLifetimeType" has already been defined

Low Impact, CWE-none
RW.ALREADY_DEFINED

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/Control.h:82

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

class template "WPEFramework::Messaging::ControlType" has already been defined

Low Impact, CWE-none
RW.ALREADY_DEFINED

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/Control.h:33

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

class template "WPEFramework::Messaging::MessageDataBufferType" has already been defined

Low Impact, CWE-none
RW.ALREADY_DEFINED

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/MessageDispatcher.h:29

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::Warning" (declared at line 38 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:38

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"appConfigList" is passed-by-value as parameter to "std::vector<_DynamicAppConfig *, std::allocator<_DynamicAppConfig *> >::vector(std::vector<_DynamicAppConfig *, std::allocator<_DynamicAppConfig *> > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""appConfigList"")" instead of "appConfigList".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:1205

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Trace::MethodEntry" (declared at line 122 of "../../install/usr/include/WPEFramework/messaging/TraceCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:122

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Uninitialized scalar field

Non-static class member "m_isDynamicRegistrationsRequired" is not initialized in this constructor nor in any functions that it calls.

Medium Impact, CWE-457
UNINIT_CTOR

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:134

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"modelNameStr" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""modelNameStr"")" instead of "modelNameStr".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:807

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Messaging::MessageUnit" (declared at line 38 of "../../install/usr/include/WPEFramework/messaging/MessageUnit.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/MessageUnit.h:38

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"manufacturerNameStr" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""manufacturerNameStr"")" instead of "manufacturerNameStr".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:744

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Messaging::MessageClient" (declared at line 35 of "../../install/usr/include/WPEFramework/messaging/MessageClient.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/MessageClient.h:35

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Memset fill value of '0'

Function "memset" with fill value "'0'" (the zero character) in "memset((void *)pDynamicAppConfig, 48, 14664UL)".

High Impact, CWE-665
NO_EFFECT

How to fix

Did you intend to use 0 (the value zero)?

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:1015

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Variable copied when it could be moved

"paramStr" is copied in call to copy assignment for class "std::string", when it could be moved instead.

Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE

How to fix

Use "std::move(""paramStr"")" instead of "paramStr".

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
XCast/XCast.cpp:569

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

invalid redeclaration of type name "WPEFramework::Logging::Notification" (declared at line 32 of "../../install/usr/include/WPEFramework/messaging/LoggingCategories.h")

Low Impact, CWE-none
RW.BAD_TYPE_NAME_REDECLARATION

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/LoggingCategories.h:32

@rdkcmf-jenkins
Copy link
Contributor

Coverity Issue - Parse recovery warning

function template "WPEFramework::Trace::Format(string &, Args &&...)" has already been defined

Low Impact, CWE-none
RW.ALREADY_DEFINED

Issue location

This issue was discovered outside the diff for this Pull Request. You can find it at:
install/usr/include/WPEFramework/tracing/TraceCategories.h:31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments