#3544: Coverity flags use of uninitialized variable in e500-mmu.c ----------------------------+---------------------- Reporter: Joel Sherrill | Owner: (none) Type: defect | Status: new Priority: normal | Milestone: 5.1 Component: admin | Version: 5 Severity: normal | Keywords: coverity Blocked By: | Blocking: ----------------------------+---------------------- 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. {{{ 519rtems_e500_tlb_idx 520rtems_e500_ftlb(uint32_t ea, int as) 521{ 522uint32_t pid, mas0, mas1; 523int i, rval = -1; 1. var_decl: Declaring variable lvl without initializer. 524rtems_interrupt_level lvl; 525 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); }}} -- Ticket URL: <http://devel.rtems.org/ticket/3544> RTEMS Project <http://www.rtems.org/> RTEMS Project
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs