New Defects reported by Coverity Scan for RTEMS

scan-admin at coverity.com scan-admin at coverity.com
Mon Oct 10 05:21:54 UTC 2022


Hi,

Please find the latest report on new defect(s) introduced to RTEMS found with Coverity Scan.

1 new defect(s) introduced to RTEMS found with Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1515930:  Memory - illegal accesses  (OVERRUN)
/cpukit/libmisc/rtems-fdt/rtems-fdt.c: 971 in rtems_fdt_strerror()


________________________________________________________________________________________________________
*** CID 1515930:  Memory - illegal accesses  (OVERRUN)
/cpukit/libmisc/rtems-fdt/rtems-fdt.c: 971 in rtems_fdt_strerror()
965         "blob has references"
966       };
967       if (errval > -RTEMS_FDT_ERR_RTEMS_MIN)
968         return fdt_strerror (errval);
969       if (errval < -RTEMS_FDT_ERR_MAX)
970         return "invalid error code";
>>>     CID 1515930:  Memory - illegal accesses  (OVERRUN)
>>>     Overrunning array "errors" of 5 4-byte elements at element index 5 (byte offset 23) using index "-errval - 100" (which evaluates to 5).
971       return errors[(-errval) - RTEMS_FDT_ERR_RTEMS_MIN];
972     }
973     
974     int
975     rtems_fdt_prop_value(const char* const path,
976                          const char* const propname,


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypUUzi-2FdSNmuyRB7BEFT8xQ4-2B8hpujh0hTgQljRGId4Dg-3D-3D3tGt_EU3W9teASMK00lBXX9WT4lsogDrkCcNZLvg-2FVxwAXMrx8nV9Pzi0hugn9s2FK6ZfLix8JmyqOKq3RkOqFldjBEAraGrjvpmsds-2B4Iivd5W95gEqWlcvVuG1EDWj6hubB5Z5pEtpqtddGnBcH49eyBbkHPbRwsax2k1rSx8EynyzF-2Fw-2BumI1vwItGf-2FpJNy6Us6XZ0o-2BY2bhnazRwWhumfA-3D-3D



More information about the build mailing list