Subj : New Defects reported by Coverity Scan for Synchronet To : All From : scan-admin@coverity.com Date : Tue Feb 17 2026 01:48 pm ----==_mimepart_699471c04eaa2_41c9e2b0ff68619ac19769 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. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 644193: Memory - corruptions (REVERSE_NEGATIVE) /websrvr.cpp: 1186 in close_request(http_session_t *)() _____________________________________________________________________________________________ *** CID 644193: Memory - corruptions (REVERSE_NEGATIVE) /websrvr.cpp: 1186 in close_request(http_session_t *)() 1180 * This causes all active http_session_threads to terminate. 1181 */ 1182 if ((!session->req.keep_alive) || terminate_server) { 1183 drain_outbuf(session); 1184 close_session_socket(session); 1185 } >>> CID 644193: Memory - corruptions (REVERSE_NEGATIVE) >>> You might be using variable "session->socket" before verifying that it is >= 0. 1186 if (session->socket == INVALID_SOCKET) 1187 session->finished = true; 1188 1189 if (session->js_cx != NULL && (session->req.dynamic == IS_SSJS)) { 1190 JS_BEGINREQUEST(session->js_cx); 1191 JS_GC(session->js_cx); ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview ----==_mimepart_699471c04eaa2_41c9e2b0ff68619ac19769 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 644193:       Memory - corruptions  (REVERSE_NEGATIVE)
/websrvr.cpp: 1186           in close_request(http_session_t *)()


_____________________________________________________________________________________________
*** CID 644193:         Memory - corruptions  (REVERSE_NEGATIVE)
/websrvr.cpp: 1186             in close_request(http_session_t *)()
1180     	 * This causes all active http_session_threads to terminate.
1181     	 */
1182     	if ((!session->req.keep_alive) || terminate_server) {
1183     		drain_outbuf(session);
1184     		close_session_socket(session);
1185     	}
>>>     CID 644193:         Memory - corruptions  (REVERSE_NEGATIVE)
>>>     You might be using variable "session->socket" before verifying that it is >= 0.
1186     	if (session->socket == INVALID_SOCKET)
1187     		session->finished = true;
1188
1189     	if (session->js_cx != NULL && (session->req.dynamic == IS_SSJS)) {
1190     		JS_BEGINREQUEST(session->js_cx);
1191     		JS_GC(session->js_cx);

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team

----==_mimepart_699471c04eaa2_41c9e2b0ff68619ac19769-- .