gdd smartCopy from empty array returns out-of-bounds error

Bug #1415908 reported by Ralph Lange
6
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.

Tags: gdd
Changed in epics-base:
status: New → Fix Committed
Andrew Johnson (anj)
Changed in epics-base:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.