home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   SYNC_PROGRAMMING      Synchronet/Baja/XSDK Programming      49,116 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 49,103 of 49,116   
   scan-admin@coverity.com to All   
   New Defects reported by Coverity Scan fo   
   18 Feb 26 13:50:52   
   
   TZUTC: 0000   
   MSGID: 54542.syncprog@1:103/705 2dfbcecd   
   PID: Synchronet 3.21b-Linux master/a3797f107 Feb 15 2026 GCC 12.2.0   
   TID: SBBSecho 3.37-Linux master/b210bfee3 Feb 16 2026 GCC 12.2.0   
   BBSID: VERT   
   CHRS: ASCII 1   
   FORMAT: flowed   
      
   ----==_mimepart_6995c3bce9f7_51bf02b0ff68619ac19798   
   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.   
      
   2 new defect(s) introduced to Synchronet found with Coverity Scan.   
      
      
   New defect(s) Reported-by: Coverity Scan   
   Showing 2 of 2 defect(s)   
      
      
   ** CID 644273:       Resource leaks  (RESOURCE_LEAK)   
   /js_console.cpp: 422           in js_console_set(JSContext *, JSObject *,   
   long, int, unsigned long *)()   
      
      
   ________________________________________________________________   
   ____________________________   
   *** CID 644273:         Resource leaks  (RESOURCE_LEAK)   
   /js_console.cpp: 422             in js_console_set(JSContext *, JSObject *,   
   long, int, unsigned long *)()   
   416     			break;   
   417   
   418     		default:   
   419     			return JS_TRUE;   
   420     	}   
   421   
   >>>     CID 644273:         Resource leaks  (RESOURCE_LEAK)   
   >>>     Variable "sval" going out of scope leaks the storage it points to.   
   422     	return JS_TRUE;   
   423     }   
   424   
   425     #define CON_PROP_FLAGS JSPROP_ENUMERATE   
   426   
   427     static jsSyncPropertySpec js_console_properties[] = {   
      
   ** CID 644272:       Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)   
      
      
   ________________________________________________________________   
   ____________________________   
   *** CID 644272:         Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)   
   /con_hi.cpp: 61             in sbbs_t::uselect(bool, unsigned int, const char   
   *, const char *, const unsigned char *)()   
   55     	if (add) {   
   56     		if (name == nullptr)   
   57     			return -1;   
   58     		if (ar != nullptr && !chk_ar(ar, &useron, &client))   
   59     			return 0;   
   60     		uselect_item item = { name, num };   
   >>>     CID 644272:         Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)   
   >>>     "item" is copied and then passed-by-reference as parameter to STL   
   insertion function "std::vector >::push_back(std::vector >::value_type const &)", when it could be   
   moved instead.   
   61     		uselect_items.push_back(item);   
   62     		return 0;   
   63     	}   
   64   
   65     	if (uselect_items.size() < 1)   
   66     		return -1;   
      
      
   ________________________________________________________________   
   _______________________________________   
   To view the defects in Coverity Scan visit, https://scan.coverit   
   .com/projects/synchronet?tab=overview   
      
      
   ----==_mimepart_6995c3bce9f7_51bf02b0ff68619ac19798   
   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: 2
  •        
  • Defects Shown: Showing 2 of 2 defect(s)
  •        
              

Defect Details

       
   
   ** CID 644273:       Resource leaks  (RESOURCE_LEAK)   
   /js_console.cpp: 422           in js_console_set(JSContext *, JSObject *,   
   long, int, unsigned long *)()   
      
      
   ________________________________________________________________   
   ____________________________   
   *** CID 644273:         Resource leaks  (RESOURCE_LEAK)   
   /js_console.cpp: 422             in js_console_set(JSContext *, JSObject *,   
   long, int, unsigned long *)()   
   416     			break;   
   417   
   418     		default:   
   419     			return JS_TRUE;   
   420     	}   
   421   
   >>>     CID 644273:         Resource leaks  (RESOURCE_LEAK)   
   >>>     Variable "sval" going out of scope leaks the   
   storage it points to.   
   422     	return JS_TRUE;   
   423     }   
   424   
   425     #define CON_PROP_FLAGS JSPROP_ENUMERATE   
   426   
   427     static jsSyncPropertySpec js_console_properties[] = {   
      
   ** CID 644272:       Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)   
      
      
   ________________________________________________________________   
   ____________________________   
   *** CID 644272:         Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)   
   /con_hi.cpp: 61             in sbbs_t::uselect(bool, unsigned int, const char   
   *, const char *, const unsigned char *)()   
   55     	if (add) {   
   56     		if (name == nullptr)   
   57     			return -1;   
   58     		if (ar != nullptr && !chk_ar(ar, &useron, &client))   
   59     			return 0;   
   60     		uselect_item item = { name, num };   
   >>>     CID 644272:         Performance inefficiencies    
   (COPY_INSTEAD_OF_MOVE)   
   >>>     "item" is copied and then passed-by-reference as   
   parameter to STL insertion function "std::vector<sbbs_t::uselect_item,   
   std::allocator<sbbs_t::uselect_item> >::push_back(std::   
   ector<sbbs_t::uselect_item, std::allocator<sbbs_t::uselect_item>   
   >::value_type const &)", when it could be moved instead.   
   61     		uselect_items.push_back(item);   
   62     		return 0;   
   63     	}   
   64   
   65     	if (uselect_items.size() < 1)   
   66     		return -1;   
      
     
              

        View Defects in Coverity Scan       

              

Best regards,

       

The Coverity Scan Admin Team

                             ----==_mimepart_6995c3bce9f7_51bf02b0ff68619ac19798--              --- SBBSecho 3.37-Linux        * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)       SEEN-BY: 10/0 1 102/401 103/705 105/81 106/201 124/5016 128/187 129/14       SEEN-BY: 153/7715 154/110 214/22 218/0 1 215 700 810 226/30 227/114       SEEN-BY: 229/110 134 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          

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca