-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RDKECMF-233 testing workflows. DO NOT MERGE. #1
Changes from all commits
0360839
1c1d6d5
da10c16
b8e5cca
ae10603
a3ee2fa
e3501ed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* If not stated otherwise in this file or this component's license file the | ||
Check failure on line 2 in fragmentcollector_mpd.cpp
|
||
* following copyright and licenses apply: | ||
* | ||
* Copyright 2018 RDK Management | ||
|
@@ -11159,7 +11159,7 @@ | |
{ | ||
std::string tmedia = media; | ||
TileInfo tileInfo; | ||
memset( &tileInfo,0,sizeof(tileInfo) ); | ||
memset( &tileInfo,0,10*sizeof(tileInfo) ); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Coverity Issue - Wrong sizeof argumentPassing argument "&tileInfo" of type "TileInfo *" and argument "640UL" ("10UL * 64UL") to function "memset" is suspicious because "sizeof (TileInfo) /64/" is expected. Medium Impact, CWE-131 |
||
tileInfo.startTime = startTime + ( adDuration / timeScale) ; | ||
AAMPLOG_TRACE("timeLineIndex[%d] size [%zu] updated durationMs[%" PRIu64 "] startTime:%f adDuration:%f repeatCount:%d", timeLineIndex, timelines.size(), durationMs, startTime, adDuration, repeatCount); | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverity Issue - Out-of-bounds access
Overrunning struct type TileInfo of 64 bytes by passing it to a function which accesses it at byte offset 639 using argument "640UL".
High Impact, CWE-119
OVERRUN