[RTEMS Project] #4499: rtems-exeinfo.cpp: Uninitialized scalar field error spotted by Coverity

RTEMS trac trac at rtems.org
Wed Aug 18 13:40:17 UTC 2021


#4499: rtems-exeinfo.cpp: Uninitialized scalar field 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 1471637: Uninitialized scalar field
 {{{
 211    section::section (const section& orig)
 212      : sec (orig.sec),
 213        data (orig.data)
 214    {
    CID 1471637 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)2.
 uninit_member: Non-static class member byteorder is not initialized in
 this constructor nor in any functions that it calls.
 215    }
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4499>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list