gdd smartCopy from empty array returns out-of-bounds error
Bug #1415908 reported by
Ralph Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
High
|
Ralph Lange |
Bug Description
Found while poking at spurious messages in the CA Gateway logs:
When copying arrays, the gdd::put() method (being called from the gddAppTable's smartCopy() function) returns an out-of-bounds error if the index of the first source element to copy is equal or larger than the source array size.
This fails when copying from an empty array, where size and first element to copy are zero. Instead, that case should not be considered an error.
Changed in epics-base: | |
status: | New → Fix Committed |
Changed in epics-base: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.