New Defects reported by Coverity Scan for RTEMS
scan-admin at coverity.com
scan-admin at coverity.com
Tue Feb 2 06:22:33 UTC 2021
Hi,
Please find the latest report on new defect(s) introduced to RTEMS found with Coverity Scan.
2 new defect(s) introduced to RTEMS found with Coverity Scan.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)
** CID 1472765: Error handling issues (CHECKED_RETURN)
/cpukit/libcsupport/src/consolesimpletask.c: 245 in _Console_simple_task_Initialize()
________________________________________________________________________________________________________
*** CID 1472765: Error handling issues (CHECKED_RETURN)
/cpukit/libcsupport/src/consolesimpletask.c: 245 in _Console_simple_task_Initialize()
239 RTEMS_MINIMUM_STACK_SIZE,
240 RTEMS_DEFAULT_ATTRIBUTES,
241 RTEMS_DEFAULT_MODES,
242 &cons->task
243 );
244
>>> CID 1472765: Error handling issues (CHECKED_RETURN)
>>> Calling "rtems_task_start" without checking return value (as is done elsewhere 21 out of 25 times).
245 rtems_task_start(
246 cons->task,
247 _Console_simple_task_Task,
248 (rtems_task_argument) cons
249 );
** CID 1472764: Error handling issues (CHECKED_RETURN)
/cpukit/libcsupport/src/printertask.c: 188 in rtems_print_printer_task()
________________________________________________________________________________________________________
*** CID 1472764: Error handling issues (CHECKED_RETURN)
/cpukit/libcsupport/src/printertask.c: 188 in rtems_print_printer_task()
182 );
183 ctx->buffer_size -= sizeof( printer_task_buffer );
184
185 printer->context = ctx;
186 printer->printer = printer_task_printer;
187
>>> CID 1472764: Error handling issues (CHECKED_RETURN)
>>> Calling "rtems_task_start" without checking return value (as is done elsewhere 21 out of 25 times).
188 rtems_task_start( ctx->task, printer_task, (rtems_task_argument) ctx );
189
190 return 0;
191 }
192
193 void rtems_printer_task_drain( rtems_printer_task_context *ctx )
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypUUzi-2FdSNmuyRB7BEFT8xQ4-2B8hpujh0hTgQljRGId4Dg-3D-3Dvnm7_EU3W9teASMK00lBXX9WT4lsogDrkCcNZLvg-2FVxwAXMqHz5T2UfSTacvUe-2B4Vp-2F9fk32bm3CJh9OCHdhs4z1jQ5xXQWcC-2B3dCh30Ll5loBscJCzz71hpO5Si-2BMOf5-2FZkrJLSo6-2FnomIVN9DQY0B5a63HPU3N7c8Ny28qQ-2Bdy8cNdD-2B-2F-2F3az7ixF5XHU3qSDPKa49KhMjCTDk7Bl4-2BgRHxSgRJr3prawAD7xXOnTwOIq0-3D
More information about the build
mailing list