Fwd: Coverity Scan: Analysis completed for RTEMS

Joel Sherrill joel at rtems.org
Wed May 10 15:17:23 UTC 2023


Another report from Coverity which shows more were introduced recently.

Unfortunately, their web UI doesn't help here. Per that, the most recently
"first detected" is from March and is in the jffs2 gc.c file:

135

const: At condition ({...; 0;}), the value of ({...; 0;}) must be equal to
0.

null: At condition ({...; 0;}), the value of ({...; 0;}) must be NULL.

dead_error_condition: The condition ({...; 0;}) cannot be true.
136        if (mutex_lock_interruptible(&c->alloc_sem))

CID 1523448 (#1 of 1): Logically dead code (DEADCODE)dead_error_line: Execution
cannot reach this statement: return -4;.
137                return -EINTR;


I have no idea what the other new issues are. :(

Anyone else figure it out?

--joel
---------- Forwarded message ---------
From: <scan-admin at coverity.com>
Date: Wed, May 10, 2023 at 12:21 AM
Subject: Coverity Scan: Analysis completed for RTEMS
To: <joel.sherrill at gmail.com>



    Your request for analysis of RTEMS has been completed successfully.
    The results are available at
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypUUzi-2FdSNmuyRB7BEFT8xQ81HXwCHW32Mihy8bA1BUtQ-3D-3DXv8Q_CTvEjVoKhyc6dLmJJo1u9AYIk8P8bcAbCPbBDYvYSXoRifeznD-2F20WffDcjOQq9n9YY3b15WgQq2UkJA9ViPExfgcVwXhZXGPGFnc9PYG7sRlBvtviauPdHuZJFG9b7rIf-2BcTbfFQ4JEBqB1T6zPz-2FByDFBGY0O6oRlmhA-2FceIOeYLAC-2BNXNkd4ZpyVBJ7TnQsoXXsJLCXVaSnKyQJeU0ioEiJFKWLRoEno1Cr-2BeEa8-3D

    Build ID: 531257

    Analysis Summary:
       New defects found: 7
       Defects eliminated: 2

    If you have difficulty understanding any defects, email us at
scan-admin at coverity.com,
    or post your question to StackOverflow
    at
https://u15810271.ct.sendgrid.net/ls/click?upn=CTPegkVN6peWFCMEieYYmPWIi1E4yUS9EoqKFcNAiqhRq8qmgeBE-2Bdt3uvFRAFXd-2FlwX83-2FVVdybfzIMOby0qA-3D-3DL7H2_CTvEjVoKhyc6dLmJJo1u9AYIk8P8bcAbCPbBDYvYSXoRifeznD-2F20WffDcjOQq9n9YY3b15WgQq2UkJA9ViPEwm9NBJLNJpsLlYV23pZJZjFv6g-2FvK8QA-2BPJxaoHD5cz0Kuq95gJ7rRS2xSXTSYrKAq5pHKcRcWUiDMT5YfrWrt4Ovg36hvRxUGQU-2FFaIJocQZt8H0vuqPxeJqF6FLYuLT5twSijVMDx3KS10MNZmIo-3D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230510/db7a5a0b/attachment.htm>


More information about the devel mailing list