Subj : New Defects reported by Coverity Scan for Synchronet To : All From : scan-admin@coverity.com Date : Thu Oct 09 2025 22:28:15 ----==_mimepart_68e836fea603a_df2962d5dd76db9a85941e 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. 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 1 of 1 defect(s) ** CID 631415: (FORWARD_NULL) _____________________________________________________________________________________________ *** CID 631415: (FORWARD_NULL) /tmp/sbbs-Oct-09-2025/src/conio/bitmap_con.c: 2120 in bitmap_setpixels() 2114 } 2115 if (++cpx >= vstat.charwidth) { 2116 cpx = 0; 2117 charx++; 2118 xupdated = false; 2119 assert(off >= 0); >>> CID 631415: (FORWARD_NULL) >>> Passing null pointer "vstat.vmem" to "vmem_next_offset", which dereferences it. 2120 off = vmem_next_offset(vstat.vmem, off); 2121 } 2122 } 2123 if (screena.rect->data[pixel_offset(&screena, x, y)] != pixels->pixels[pos]) { 2124 screena.rect->data[pixel_offset(&screena, x, y)] = pixels->pixels[pos]; 2125 screena.update_pixels = 1; /tmp/sbbs-Oct-09-2025/src/conio/bitmap_con.c: 2094 in bitmap_setpixels() 2088 int ccols = vstat.cols * vstat.charwidth; 2089 for (y = sy; y <= ey; y++) { 2090 pos = pixels->width*(y-sy+y_off)+x_off; 2091 bool in_text_area = y < crows; 2092 if (in_text_area && !yupdated) { 2093 charx = charsx; >>> CID 631415: (FORWARD_NULL) >>> Passing null pointer "vstat.vmem" to "vmem_cell_offset", which dereferences it. 2094 off = vmem_cell_offset(vstat.vmem, charx, chary); 2095 } 2096 if (mask == NULL) { 2097 for (x = sx; x <= ex; x++) { 2098 if (x >= ccols) 2099 in_text_area = false; ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview ----==_mimepart_68e836fea603a_df2962d5dd76db9a85941e Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit New Defects Reported - Synchronet

Hi,

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

Defect Details

** CID 631415:         (FORWARD_NULL)


_____________________________________________________________________________________________
*** CID 631415:           (FORWARD_NULL)
/tmp/sbbs-Oct-09-2025/src/conio/bitmap_con.c: 2120             in bitmap_setpixels()
2114     					}
2115     					if (++cpx >= vstat.charwidth) {
2116     						cpx = 0;
2117     						charx++;
2118     						xupdated = false;
2119     						assert(off >= 0);
>>>     CID 631415:           (FORWARD_NULL)
>>>     Passing null pointer "vstat.vmem" to "vmem_next_offset", which dereferences it.
2120     						off = vmem_next_offset(vstat.vmem, off);
2121     					}
2122     				}
2123     				if (screena.rect->data[pixel_offset(&screena, x, y)] != pixels->pixels[pos]) {
2124     					screena.rect->data[pixel_offset(&screena, x, y)] = pixels->pixels[pos];
2125     					screena.update_pixels = 1;
/tmp/sbbs-Oct-09-2025/src/conio/bitmap_con.c: 2094             in bitmap_setpixels()
2088     	int ccols = vstat.cols * vstat.charwidth;
2089     	for (y = sy; y <= ey; y++) {
2090     		pos = pixels->width*(y-sy+y_off)+x_off;
2091     		bool in_text_area = y < crows;
2092     		if (in_text_area && !yupdated) {
2093     			charx = charsx;
>>>     CID 631415:           (FORWARD_NULL)
>>>     Passing null pointer "vstat.vmem" to "vmem_cell_offset", which dereferences it.
2094     			off = vmem_cell_offset(vstat.vmem, charx, chary);
2095     		}
2096     		if (mask == NULL) {
2097     			for (x = sx; x <= ex; x++) {
2098     				if (x >= ccols)
2099     					in_text_area = false;

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team

----==_mimepart_68e836fea603a_df2962d5dd76db9a85941e-- --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .