-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/l2configure - Test purpose #109
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
base: develop
Are you sure you want to change the base?
Changes from 16 commits
347ba1b
a722243
9c2f40b
b9eb076
479ddd0
104b734
5b908e6
b6b2c24
ae719b8
043fea8
9f476a0
de34b27
43a7594
6f350c2
1ebecd6
f2ebc01
71713df
cd83731
41025c8
d711f09
0307ec9
88d26c9
2e7930a
5fc33af
5ed42dc
52a8c62
01b2c64
6e30ed9
755ea5f
fc6005d
1222fbe
104cf9d
c8d0337
69a8a45
0f97831
ce410c3
c519841
690e5d3
7221b5e
3f7f280
c239f3a
a4b5c4a
a5ad8dd
24d2921
f8661e4
395ecaa
bbe93e8
851b330
1c72a0b
eded48e
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 |
---|---|---|
|
@@ -74,17 +74,23 @@ int RRD_subscribe() | |
subscriptions[1].handler = _remoteDebuggerWebCfgDataEventHandler; | ||
subscriptions[1].userData = NULL; | ||
|
||
#ifndef IARMBUS_SUPPORT | ||
subscriptions[2].eventName = RDM_DOWNLOAD_EVENT; | ||
subscriptions[2].filter = NULL; | ||
subscriptions[2].duration = 0; | ||
subscriptions[2].handler = _rdmDownloadEventHandler; | ||
subscriptions[2].userData = NULL; | ||
// #if !defined(IARMBUS_SUPPORT) || defined(L2_SUPPORT) | ||
// subscriptions[2].eventName = RDM_DOWNLOAD_EVENT; | ||
// subscriptions[2].filter = NULL; | ||
// subscriptions[2].duration = 0; | ||
// subscriptions[2].handler = _rdmDownloadEventHandler; | ||
// subscriptions[2].userData = NULL; | ||
|
||
subscriptions[3].eventName = RDM_DOWNLOAD_EVENT1; | ||
subscriptions[3].filter = NULL; | ||
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 no longer present as of: undefined Show issueCoverity Issue - Out-of-bounds writeOverrunning array "subscriptions" of 3 64-byte elements at element index 3 (byte offset 255) using index "3". High Impact, CWE-119 |
||
subscriptions[3].duration = 0; | ||
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 no longer present as of: undefined Show issueCoverity Issue - Out-of-bounds writeOverrunning array "subscriptions" of 3 64-byte elements at element index 3 (byte offset 255) using index "3". High Impact, CWE-119 |
||
subscriptions[3].handler = _rdmDownloadEventHandler; | ||
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 no longer present as of: undefined Show issueCoverity Issue - Out-of-bounds writeOverrunning array "subscriptions" of 3 64-byte elements at element index 3 (byte offset 255) using index "3". High Impact, CWE-119 |
||
subscriptions[3].userData = NULL; | ||
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 no longer present as of: undefined Show issueCoverity Issue - Out-of-bounds writeOverrunning array "subscriptions" of 3 64-byte elements at element index 3 (byte offset 255) using index "3". High Impact, CWE-119 |
||
|
||
ret = rbusEvent_SubscribeEx(rrdRbusHandle, subscriptions, 3, 60); | ||
#else | ||
ret = rbusEvent_SubscribeEx(rrdRbusHandle, subscriptions, 2, 60); | ||
#endif | ||
//#else | ||
// ret = rbusEvent_SubscribeEx(rrdRbusHandle, subscriptions, 2, 60); | ||
//#endif | ||
#endif | ||
if(ret != 0) | ||
{ | ||
|
Uh oh!
There was an error while loading. Please reload this page.
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 no longer present as of: undefined
Show issue
Coverity Issue - Out-of-bounds write
Overrunning array "subscriptions" of 3 64-byte elements at element index 3 (byte offset 255) using index "3".
High Impact, CWE-119
OVERRUN