Subj : New Defects reported by Coverity Scan for Synchronet To : All From : scan-admin@coverity.com Date : Mon Sep 29 2025 14:35:08 ----==_mimepart_68da991cc30d_3dac62b4f2a4a99a44987 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Please find the latest report on new defect(s) introduced to Synchronet found with Coverity Scan. 1 new defect(s) introduced to Synchronet found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 631019: Memory - corruptions (ARRAY_VS_SINGLETON) _____________________________________________________________________________________________ *** CID 631019: Memory - corruptions (ARRAY_VS_SINGLETON) /tmp/sbbs-Sep-29-2025/src/xpdev/ini_file.c: 1658 in iniParseSections() 1652 break; 1653 } 1654 1655 if (list[i] != NULL) { 1656 // TODO: A comment will create a zero-length root section, which kinda sucks... 1657 if (*p != INI_OPEN_SECTION_CHAR) { >>> CID 631019: Memory - corruptions (ARRAY_VS_SINGLETON) >>> Passing "&iniParsedRootValue" to function "addParsedSection" which uses it as an array. This might corrupt or misinterpret adjacent memory locations. 1658 if (!addParsedSection(&lp, §ions, &iniParsedRootValue)) 1659 goto error_return; 1660 keys = 0; 1661 for (; list[i] != NULL; ++i) { 1662 p = list[i]; 1663 SKIP_WHITESPACE(p); ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview ----==_mimepart_68da991cc30d_3dac62b4f2a4a99a44987 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
Hi,
Please find the latest report on new defect(s) introduced to Synchronet found with Coverity Scan.
** CID 631019: Memory - corruptions (ARRAY_VS_SINGLETON)
_____________________________________________________________________________________________
*** CID 631019: Memory - corruptions (ARRAY_VS_SINGLETON)
/tmp/sbbs-Sep-29-2025/src/xpdev/ini_file.c: 1658 in iniParseSections()
1652 break;
1653 }
1654
1655 if (list[i] != NULL) {
1656 // TODO: A comment will create a zero-length root section, which kinda sucks...
1657 if (*p != INI_OPEN_SECTION_CHAR) {
>>> CID 631019: Memory - corruptions (ARRAY_VS_SINGLETON)
>>> Passing "&iniParsedRootValue" to function "addParsedSection" which uses it as an array. This might corrupt or misinterpret adjacent memory locations.
1658 if (!addParsedSection(&lp, §ions, &iniParsedRootValue))
1659 goto error_return;
1660 keys = 0;
1661 for (; list[i] != NULL; ++i) {
1662 p = list[i];
1663 SKIP_WHITESPACE(p);
Best regards,
The Coverity Scan Admin Team