[RTEMS Project] #4260: record-client.c: Unchecked return value error spotted by Coverity
RTEMS trac
trac at rtems.org
Fri Feb 19 21:16:24 UTC 2021
#4260: record-client.c: Unchecked return value error spotted by Coverity
------------------------+--------------------
Reporter: Ryan Long | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 6.1
Component: lib | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------+--------------------
CID 1456677: Unchecked return value in resolve_hold_back().
{{{
191 for ( index = begin_index; index < per_cpu->item_index; ++index ) {
192 const rtems_record_item_64 *item;
193
194 item = &per_cpu->items[ index ];
CID 1456677 (#1 of 1): Unchecked return value (CHECKED_RETURN)12.
check_return: Calling visit without checking return value (as is done
elsewhere 4 out of 5 times).
195 visit( ctx, item->event, item->data );
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4260>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list