<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>New Defects Reported - RTEMS</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</strong>
found with Coverity Scan.
</p>
<ul>
<li><strong>New Defects Found:</strong> 1</li>
<li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
</ul>
<h3>Defect Details</h3>
<pre>
** CID 1680685: (INTEGER_OVERFLOW)
/cpukit/libcsupport/src/pwdgrp.c: 163 in scanInt()
/cpukit/libcsupport/src/pwdgrp.c: 155 in scanInt()
_____________________________________________________________________________________________
*** CID 1680685: (INTEGER_OVERFLOW)
/cpukit/libcsupport/src/pwdgrp.c: 163 in scanInt()
157 }
158 sign = 1;
159 }
160 if ( !isdigit( c ) ) {
161 return 0;
162 }
>>> CID 1680685: (INTEGER_OVERFLOW)
>>> Expression "d", where "c - 48" is known to be equal to -49, overflows the type of "d", which is type "unsigned int".
163 d = c - '0';
164 if (
165 ( i > ( limit / 10 ) ) ||
166 ( ( i == ( limit / 10 ) ) && ( d > (unsigned int) ( limit % 10 ) ) )
167 ) {
168 return 0;
/cpukit/libcsupport/src/pwdgrp.c: 155 in scanInt()
149 if ( c == ':' ) {
150 break;
151 }
152 if ( sign == 0 ) {
153 if ( c == '-' ) {
154 sign = -1;
>>> CID 1680685: (INTEGER_OVERFLOW)
>>> Expression "limit++", where "limit" is known to be equal to 2147483647, overflows the type of "limit++", which is type "int".
155 limit++;
156 continue;
157 }
158 sign = 1;
159 }
160 if ( !isdigit( c ) ) {
</pre>
<p>
<a href="https://scan.coverity.com/projects/rtems?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>