<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>New Defects Reported - RTEMS-Tools</title>
<style>
body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
.button {
display: inline-block;
padding: 10px 20px;
margin: 20px 0;
font-size: 16px;
color: #fff !important;
background-color: #0056b3;
text-decoration: none;
border-radius: 5px;
}
pre {
background: #f8f9fa;
padding: 10px;
border-radius: 5px;
font-size: 14px;
overflow-x: auto;
}
</style>
</head>
<body>
<p>Hi,</p>
<p>
Please find the latest report on new defect(s) introduced to <strong>RTEMS-Tools</strong>
found with Coverity Scan.
</p>
<ul>
<li><strong>New Defects Found:</strong> 1</li>
<li>
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
</li>
<li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
</ul>
<h3>Defect Details</h3>
<pre>
** CID 1688982: Performance inefficiencies (COPY_INSTEAD_OF_MOVE)
_____________________________________________________________________________________________
*** CID 1688982: Performance inefficiencies (COPY_INSTEAD_OF_MOVE)
/linkers/rtems-rapper.cpp: 377 in rap::section::load_relocs(rld::compress::compressor &, unsigned int)()
371 size_t symname_read = comp.read ((void*) reloc.symname.c_str (), symname_size);
372 if (symname_read != symname_size)
373 throw rld::error ("Reading reloc symbol name failed", "rapper");
374 }
375 }
376
>>> CID 1688982: Performance inefficiencies (COPY_INSTEAD_OF_MOVE)
>>> "reloc" is copied and then passed-by-reference as parameter to STL insertion function "push_back", when it could be moved instead.
377 relocs.push_back (reloc);
378 }
379
380 std::stable_sort (relocs.begin (), relocs.end (), reloc_offset_compare ());
381 }
382 }
</pre>
<p>
<a href="https://scan.coverity.com/projects/rtems-tools?tab=overview" class="button">View Defects in Coverity Scan</a>
</p>
<p>Best regards,</p>
<p>The Coverity Scan Admin Team</p>
<img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
</body>
</html>