New Defects reported by Coverity Scan for RTEMS-Tools

scan-admin at coverity.com scan-admin at coverity.com
Tue Dec 7 18:21:10 UTC 2021


Hi,

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

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


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


** CID 1510281:  API usage errors  (STREAM_FORMAT_STATE)
/tester/covoar/TraceList.cc: 35 in Trace::TraceList::ShowTrace(Trace::TraceList::traceRange_t *)()


________________________________________________________________________________________________________
*** CID 1510281:  API usage errors  (STREAM_FORMAT_STATE)
/tester/covoar/TraceList.cc: 35 in Trace::TraceList::ShowTrace(Trace::TraceList::traceRange_t *)()
29     
30         void TraceList::ShowTrace( traceRange_t *t)
31         {
32           std::cout << std::hex << "Start 0x" << t->lowAddress
33                     << ", length 0x" << std::setfill( '0' ) << std::setw( 3 )
34                     << t->length << " Reason " << t->exitReason << std::endl;
>>>     CID 1510281:  API usage errors  (STREAM_FORMAT_STATE)
>>>     Changing format state of stream "std::cout" for categories basefield, fill without later restoring it.
35         }
36     
37         void  TraceList::ShowList()
38         {
39           ranges_t::iterator   ritr;
40           traceRange_t         t;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypUUzi-2FdSNmuyRB7BEFT8xQi8c7-2B1U0roIV5G3HXifs2odF2CS2aZ-2FK5CtfMSQ5p34-3Dms3i_EU3W9teASMK00lBXX9WT4lsogDrkCcNZLvg-2FVxwAXMoUS-2Fwx7dNnj4UxZVHd-2Btl0Dd7bO1im2KRpIYzY5GtT8mCG7rPnfhsgfX4KJLOwZR-2FGJKTaIhZO-2FnNFjrDeCzTF5MAQHvfNMqpCcnknwnXokCGaa6YItyqGSPuaRvxL7r25HcQviq5o3q0cb15Azu0tpUyamfrKcTjLWibSpIPeFA-3D-3D



More information about the build mailing list