[RTEMS Project] #4423: record-client.c: Unchecked return value error spotted by Coverity

RTEMS trac trac at rtems.org
Mon May 17 19:14:04 UTC 2021


#4423: 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:  tool       |    Version:  6
  Severity:  normal     |   Keywords:
Blocked By:             |   Blocking:
------------------------+--------------------
 CID 1503011: 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 1503011 (#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/4423>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list