BBS:      TELESC.NET.BR
Assunto:  New Defects reported by Coverity Scan for Synchronet
De:       scan-admin@coverity.com
Data:     Tue, 12 May 2026 12:53:38 +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.
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 646043:       Null pointer dereferences  (FORWARD_NULL)
/mqtt.cpp: 1095           in mqtt_startup()


_____________________________________________________________________________________________
*** CID 646043:         Null pointer dereferences  (FORWARD_NULL)
/mqtt.cpp: 1095             in mqtt_startup()
1089     					}
1090     					broker = mqtt5::Broker::instance();
1091     				}
1092     			}
1093
1094     			char client_id[256];
>>>     CID 646043:         Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "startup".
1095     			snprintf(client_id, sizeof(client_id), "sbbs-%s-%s-%s",
1096     			         cfg->sys_id, mqtt->host, server_type_desc((enum server_type)startup->type));
1097
1098     			auto *lc = broker->register_local(client_id, mqtt_local_message_callback, mqtt);
1099     			mqtt->local = lc;
1100     			mqtt->connected = true;


________________________________________________________________________________________________________
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]