Subj : New Defects reported by C To : cov-scan@synchro.net From : scan-admin@coverity.com Date : Mon Nov 11 2024 14:28:00 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. 4 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 514647: Resource leaks (RESOURCE_LEAK) /userdat.c: 1397 in getnodeext() ________________________________________________________________________________________________________ *** CID 514647: Resource leaks (RESOURCE_LEAK) /userdat.c: 1397 in getnodeext() 1391 { 1392 int f; 1393 1394 if(!VALID_CFG(cfg) || num < 1) 1395 return ""; 1396 if((f = opennodeext(cfg)) < 1) >>> CID 514647: Resource leaks (RESOURCE_LEAK) >>> Handle variable "f" going out of scope leaks the handle. 1397 return ""; 1398 (void)lseek(f, (num-1) * 128, SEEK_SET); 1399 if(read(f, buf, 128) != 128) 1400 memset(buf, 0, 128); 1401 close(f); 1402 buf[127] = 0; ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu4gdQbQRNsarCbK0jIoVQSWT2zCPijRqaed4AhLiEI9Z7MR9SJQ09ot5XPbn9SW-2F14-3DNrRS_7FYjIqE8olEh4k02KWtt1r1LGSyuXVEtCuKuJCXgAQZ3ELp6fsbhc-2FY9mD5Zp1-2FoSxtPMVY9W2gQFqb-2BWiMKBXb3R551uQj1an4L8jxHGCtVzJ8f8hTy9TuLVRQzLD3L1M-2FICoSbiZvQ-2FUBPSeV-2BCcsclK4jYNyukSMcGAKOr-2BtLQBr5jUdpUtVX-2FuxQBKwF4hNcUqyrDA8X7YI-2FfcIZtw-3D-3D --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .