BBS: TELESC.NET.BR Assunto: New Defects reported by Coverity Scan for Synchronet De: scan-admin@coverity.com Data: Wed, 22 Apr 2026 13:18:50 +0000 ----------------------------------------------------------- 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. 4 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 645757: Control flow issues (DEADCODE) /tmp/sbbs-Apr-22-2026/src/conio/cterm_cterm.c: 1228 in cterm_play_fx_tone() _____________________________________________________________________________________________ *** CID 645757: Control flow issues (DEADCODE) /tmp/sbbs-Apr-22-2026/src/conio/cterm_cterm.c: 1228 in cterm_play_fx_tone() 1222 if (!cterm || duration_ms == 0) 1223 return false; 1224 if (!cterm_fx_ensure_open(cterm)) 1225 return false; 1226 nframes = (size_t)XPBEEP_SAMPLE_RATE * duration_ms / 1000; 1227 if (nframes == 0) >>> CID 645757: Control flow issues (DEADCODE) >>> Execution cannot reach this statement: "return true;". 1228 return true; 1229 buf = (int16_t *)malloc(nframes * XPBEEP_FRAMESIZE); 1230 if (!buf) 1231 return false; 1232 xptone_makewave(freq, buf, (int)nframes, shape); 1233 return xp_audio_append(cterm->fx_stream, buf, nframes, NULL); ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview n --- * mSynchronetn * hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]