Subj : New Defects reported by Coverity Scan for Synchronet To : cov-scan@synchro.net From : scan-admin@coverity.com Date : Sat May 15 2021 12:52 pm Hi, Please find the latest report on new defect(s) introduced to Synchronet found with Coverity Scan. 3 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 3 of 3 defect(s) ** CID 331591: Control flow issues (DEADCODE) /tmp/sbbs-May-15-2021/src/conio/bitmap_con.c: 196 in bitmap_loadfont_locked() ________________________________________________________________________________________________________ *** CID 331591: Control flow issues (DEADCODE) /tmp/sbbs-May-15-2021/src/conio/bitmap_con.c: 196 in bitmap_loadfont_locked() 190 } 191 } 192 for (i=0; i>> CID 331591: Control flow issues (DEADCODE) >>> Execution cannot reach this statement: "case 8:". 196 case 8: 197 switch(vstat.charheight) { 198 case 8: 199 if(conio_fontdata[current_font[i]].eight_by_eight==NULL) { 200 if (i==0) 201 goto error_return; ** CID 319807: Memory - illegal accesses (UNINIT) /tmp/sbbs-May-15-2021/3rdp/src/mozjs/js-1.8.5/js/src/configure: 9243 in main() ________________________________________________________________________________________________________ *** CID 319807: Memory - illegal accesses (UNINIT) /tmp/sbbs-May-15-2021/3rdp/src/mozjs/js-1.8.5/js/src/configure: 9243 in main() 9237 cat > conftest.$ac_ext < 9241 int main() { 9242 struct utsname *res; char *domain; >>> CID 319807: Memory - illegal accesses (UNINIT) >>> Using uninitialized value "res" when calling "uname". 9243 (void)uname(res); if (res != 0) { domain = res->domainname; } 9244 ; return 0; } 9245 EOF 9246 if { (eval echo configure:9247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 9247 rm -rf conftest* 9248 ac_cv_have_uname_domainname_field=true ** CID 319786: Null pointer dereferences (REVERSE_INULL) /tmp/sbbs-May-15-2021/3rdp/src/mozjs/js-1.8.5/js/src/configure: 9243 in main() ________________________________________________________________________________________________________ *** CID 319786: Null pointer dereferences (REVERSE_INULL) /tmp/sbbs-May-15-2021/3rdp/src/mozjs/js-1.8.5/js/src/configure: 9243 in main() 9237 cat > conftest.$ac_ext < 9241 int main() { 9242 struct utsname *res; char *domain; >>> CID 319786: Null pointer dereferences (REVERSE_INULL) >>> Null-checking "res" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 9243 (void)uname(res); if (res != 0) { domain = res->domainname; } 9244 ; return 0; } 9245 EOF 9246 if { (eval echo configure:9247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 9247 rm -rf conftest* 9248 ac_cv_have_uname_domainname_field=true ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yp-2FP9gGRhvFklLaQKuBylUrkMFB3WMR2p7qIYKYTZrh4BbWTBf-2B-2Fi5ZUVF-2Fo-2B6flxo-3D3V_W_g4j7BHlu96plUOfCQsO0yRjoWZCZl8YGnZ-2FUtT39hrBWT-2B5lyDkUnzDanJEHTaxWrpiZ0rx3QNplW-2FK37v8ugfgG4QymLdWTbjsj1HHAKz52hyeeMLtaaiIH9nlebGioivOe2ibLkvN-2ByeqGoEoCAL4v0jkn-2Blnhgw1T1z7LFAGltikKJOAVY2smg66E00WD-2FilHtSdEAIFvFYybBiyJpJFmTThiC-2BGPotnNpdnxvOI-3D .