TZUTC: 0000   
   MSGID: 52651.syncprog@1:103/705 2d39eb92   
   PID: Synchronet 3.21a-Linux master/869dac47e Sep 14 2025 GCC 12.2.0   
   TID: SBBSecho 3.29-Linux master/f60b34fad Sep 22 2025 GCC 12.2.0   
   BBSID: VERT   
   CHRS: ASCII 1   
   FORMAT: flowed   
      
   ----==_mimepart_68d3e7e5d7b6_b44382cc43c0b59a0513eb   
   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.   
   2 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 630343: (ATOMICITY)   
   /tmp/sbbs-Sep-24-2025/src/conio/bitmap_con.c: 1581 in    
   itmap_setfont()   
   /tmp/sbbs-Sep-24-2025/src/conio/bitmap_con.c: 1577 in    
   itmap_setfont()   
      
      
   ________________________________________________________________   
   ____________________________   
   *** CID 630343: (ATOMICITY)   
   /tmp/sbbs-Sep-24-2025/src/conio/bitmap_con.c: 1581 in   
   bitmap_setfont()   
   1575 new=malloc(ti.screenwidth*ti.screenheight*sizeof(*new));   
   1576 if(!new) {   
   1577 free(old);   
   1578 assert_rwlock_unlock(&vstatlock);   
   1579 return 0;   
   1580 }   
   >>> CID 630343: (ATOMICITY)   
   >>> Using an unreliable value of "old" inside the second locked section.   
   If the data that "old" depends on was changed by another thread, this use   
   might be incorrect.   
   1581 pold=old;   
   1582 pnew=new;   
   1583 for(row=0; row>> CID 630343: (ATOMICITY)   
   >>> Using an unreliable value of "old" inside the second locked section.   
   If the data that "old" depends on was changed by another thread, this use   
   might be incorrect.   
   1577 free(old);   
   1578 assert_rwlock_unlock(&vstatlock);   
   1579 return 0;   
   1580 }   
   1581 pold=old;   
   1582 pnew=new;   
      
      
   ________________________________________________________________   
   _______________________________________   
   To view the defects in Coverity Scan visit, https://scan.coverit   
   .com/projects/synchronet?tab=overview   
      
      
   ----==_mimepart_68d3e7e5d7b6_b44382cc43c0b59a0513eb   
   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.   
       
      
       
    - New Defects Found: 1
   
    -    
    2 defect(s), reported by Coverity Scan earlier, were marked fixed in   
   the recent build analyzed by Coverity Scan.   
   
   
    - Defects Shown: Showing 1 of 1 defect(s)
   
       
      
    Defect Details   
       
   ** CID 630343: (ATOMICITY)   
   /tmp/sbbs-Sep-24-2025/src/conio/bitmap_con.c: 1581 in    
   itmap_setfont()   
   /tmp/sbbs-Sep-24-2025/src/conio/bitmap_con.c: 1577 in    
   itmap_setfont()   
      
      
   ________________________________________________________________   
   ____________________________   
   *** CID 630343: (ATOMICITY)   
   /tmp/sbbs-Sep-24-2025/src/conio/bitmap_con.c: 1581 in   
   bitmap_setfont()   
   1575 new=malloc(ti.screenwidth*ti.screenheight*sizeof(*new));   
   1576 if(!new) {   
   1577 free(old);   
   1578 assert_rwlock_unlock(&vstatlock);   
   1579 return 0;   
   1580 }   
   >>> CID 630343: (ATOMICITY)   
   >>> Using an unreliable value of "old" inside the   
   second locked section. If the data that "old" depends on was changed   
   by another thread, this use might be incorrect.   
   1581 pold=old;   
   1582 pnew=new;   
   1583 for(row=0; row<ti.screenheight; row++) {   
   1584 for(col=0; col<ti.screenwidth; col++) {   
   1585 if(row < oh) {   
   1586 if(col < ow) {   
   /tmp/sbbs-Sep-24-2025/src/conio/bitmap_con.c: 1577 in   
   bitmap_setfont()   
   1571 bitmap_vmem_gettext_locked(1,1,ow,oh,old);   
   1572 assert_rwlock_unlock(&vstatlock);   
   1573 textmode(newmode);   
   1574 assert_rwlock_wrlock(&vstatlock);   
   1575 new=malloc(ti.screenwidth*ti.screenheight*sizeof(*new));   
   1576 if(!new) {   
   >>> CID 630343: (ATOMICITY)   
   >>> Using an unreliable value of "old" inside the   
   second locked section. If the data that "old" depends on was changed   
   by another thread, this use might be incorrect.   
   1577 free(old);   
   1578 assert_rwlock_unlock(&vstatlock);   
   1579 return 0;   
   1580 }   
   1581 pold=old;   
   1582 pnew=new;   
      
       
      
       
    View Defects in Coverity Scan   
       
      
    Best regards,    
    The Coverity Scan Admin Team    
       
      
      
   ----==_mimepart_68d3e7e5d7b6_b44382cc43c0b59a0513eb--   
      
   --- SBBSecho 3.29-Linux   
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)   
   SEEN-BY: 10/0 1 102/401 103/1 705 105/81 106/201 124/5016 128/187   
   SEEN-BY: 129/14 153/7715 154/110 214/22 218/0 1 215 610 700 810 226/30   
   SEEN-BY: 227/114 229/110 206 317 400 426 428 470 700 705 266/512 280/464   
   SEEN-BY: 291/111 301/1 320/219 322/757 342/200 396/45 460/58 633/280   
   SEEN-BY: 712/848 902/26 5075/35   
   PATH: 103/705 218/700 229/426   
      
|