#3544 assigned defect

Coverity flags use of uninitialized variable in e500-mmu.c

Reported by: Joel Sherrill Owned by: Sebastian Huber
Priority: normal Milestone: Indefinite
Component: arch/powerpc Version: 5
Severity: normal Keywords: coverity
Cc: Blocked By:


Coverity ids: 1440032 1440034 1440037 1440042

I am unsure why rtems_interrupt_disable() is confusing Coverity in this one file but it seems odd. I would expect it to be causing more issues.

520rtems_e500_ftlb(uint32_t ea, int as)
522uint32_t              pid, mas0, mas1;
523int                   i, rval = -1;
   	1. var_decl: Declaring variable lvl without initializer.
524rtems_interrupt_level lvl;
CID 1440042 (#1 of 1): Uninitialized scalar variable (UNINIT)
2. uninit_use_in_call: Using uninitialized value lvl when calling rtems_interrupt_disable.
526  rtems_interrupt_disable(lvl);

Change History (4)

comment:1 Changed on Oct 9, 2018 at 1:41:47 PM by Joel Sherrill

Component: adminarch/powerpc
Owner: set to Sebastian Huber
Status: newassigned

comment:2 Changed on Oct 13, 2018 at 10:56:00 PM by Joel Sherrill

Milestone: 5.15.2

comment:3 Changed on Oct 14, 2018 at 12:21:43 AM by Joel Sherrill


comment:4 Changed on Oct 18, 2018 at 1:24:46 PM by Sebastian Huber

Milestone: 4.11.1Indefinite
Note: See TracTickets for help on using tickets.