• New Defects reported by Coverity Scan for Synchronet

    From scan-admin@coverity.com@VERT to All on Tue Jun 23 12:49:12 2026
    ----==_mimepart_6a3a80c7a20e1_66e5f2bc3001679a4406f9
    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 646963: Concurrent data access violations (MISSING_LOCK) /echocfg.c: 863 in main()


    _____________________________________________________________________________________________
    *** CID 646963: Concurrent data access violations (MISSING_LOCK) /echocfg.c: 863 in main()
    857 uifc.mode |= UIFC_COLOR;
    858 break;
    859 case 'V':
    860 video_mode = atoi(argv[i] + 2); 861 break;
    862 case 'S':
    CID 646963: Concurrent data access violations (MISSING_LOCK) >>> Accessing "ciolib_initial_scaling" without holding lock "vstatlock". Elsewhere, "ciolib_initial_scaling" is written to with "vstatlock" held 5 out of 7 times.
    863 ciolib_initial_scaling = strtod(argv[i] + 2, NULL);
    864 break;
    865 default:
    866 USAGE:
    867 #ifdef _WIN32
    868 uifc.size = sizeof(uifc);

    ** CID 646962: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Jun-23-2026/src/conio/sdl_con.c: 408 in sdl_init()


    _____________________________________________________________________________________________
    *** CID 646962: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Jun-23-2026/src/conio/sdl_con.c: 408 in sdl_init()
    402
    403 /* Called from main thread only (Passes Event) */
    404 int sdl_init(int mode)
    405 {
    406 load_vmode(&vstat, ciolib_initial_mode);
    407 if (vstat.scaling < 1.0)
    CID 646962: Concurrent data access violations (MISSING_LOCK) >>> Accessing "ciolib_initial_scaling" without holding lock "vstatlock". Elsewhere, "ciolib_initial_scaling" is written to with "vstatlock" held 5 out of 7 times.
    408 vstat.scaling = ciolib_initial_scaling;
    409 if (vstat.scaling < 1.0)
    410 vstat.scaling = 1.0;
    411 // TODO: This is gross, why do we need it?
    412 vstat.winwidth = vstat.scrnwidth * vstat.scaling;
    413 vstat.winheight = vstat.scrnheight * vstat.scaling;


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6a3a80c7a20e1_66e5f2bc3001679a4406f9
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 2</li>
    <li><strong>Defects Shown:</strong> Showing 2 of 2 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 646963: Concurrent data access violations (MISSING_LOCK) /echocfg.c: 863 in main()


    _____________________________________________________________________________________________
    *** CID 646963: Concurrent data access violations (MISSING_LOCK) /echocfg.c: 863 in main()
    857 uifc.mode |= UIFC_COLOR;
    858 break;
    859 case &#39;V&#39;:
    860 video_mode = atoi(argv[i] + 2); 861 break;
    862 case &#39;S&#39;:
    &gt;&gt;&gt; CID 646963: Concurrent data access violations (MISSING_LOCK)
    &gt;&gt;&gt; Accessing &quot;ciolib_initial_scaling&quot; without holding lock &quot;vstatlock&quot;. Elsewhere, &quot;ciolib_initial_scaling&quot; is written to with &quot;vstatlock&quot; held 5 out of 7 times.
    863 ciolib_initial_scaling = strtod(argv[i] + 2, NULL);
    864 break;
    865 default:
    866 USAGE:
    867 #ifdef _WIN32
    868 uifc.size = sizeof(uifc);

    ** CID 646962: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Jun-23-2026/src/conio/sdl_con.c: 408 in sdl_init()


    _____________________________________________________________________________________________
    *** CID 646962: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Jun-23-2026/src/conio/sdl_con.c: 408 in sdl_init()
    402
    403 /* Called from main thread only (Passes Event) */
    404 int sdl_init(int mode)
    405 {
    406 load_vmode(&amp;vstat, ciolib_initial_mode);
    407 if (vstat.scaling &lt; 1.0)
    &gt;&gt;&gt; CID 646962: Concurrent data access violations (MISSING_LOCK)
    &gt;&gt;&gt; Accessing &quot;ciolib_initial_scaling&quot; without holding lock &quot;vstatlock&quot;. Elsewhere, &quot;ciolib_initial_scaling&quot; is written to with &quot;vstatlock&quot; held 5 out of 7 times.
    408 vstat.scaling = ciolib_initial_scaling;
    409 if (vstat.scaling &lt; 1.0)
    410 vstat.scaling = 1.0;
    411 // TODO: This is gross, why do we need it?
    412 vstat.winwidth = vstat.scrnwidth * vstat.scaling;
    413 vstat.winheight = vstat.scrnheight * vstat.scaling;

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6a3a80c7a20e1_66e5f2bc3001679a4406f9--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Fri Jun 26 12:49:28 2026
    ----==_mimepart_6a3e755815a7c_97dd12bc3001679a440652
    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 647057: High impact quality (Y2K38_SAFETY)
    /mime.c: 43 in mimegetboundary()


    _____________________________________________________________________________________________
    *** CID 647057: High impact quality (Y2K38_SAFETY)
    /mime.c: 43 in mimegetboundary()
    37 int i, num;
    38 char* boundaryString = (char*)malloc(SIZEOF_MIMEBOUNDARY + 1);
    39
    40 /* A nonzero seed yields a deterministic boundary, so a message rendered
    41 * more than once (e.g. the DKIM sign/send two-pass) gets an identical 42 * boundary both times; seed==0 preserves the original time-seeded behavior. */
    CID 647057: High impact quality (Y2K38_SAFETY)
    A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "time(NULL)" is cast to "unsigned int".
    43 srand(seed != 0 ? seed : (unsigned int)time(NULL));
    44 if (boundaryString == NULL)
    45 return NULL;
    46 for (i = 0; i < SIZEOF_MIMEBOUNDARY; i++) {
    47 num = (rand() % 62);
    48 if (num < 10)


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6a3e755815a7c_97dd12bc3001679a440652
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li>
    2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 647057: High impact quality (Y2K38_SAFETY)
    /mime.c: 43 in mimegetboundary()


    _____________________________________________________________________________________________
    *** CID 647057: High impact quality (Y2K38_SAFETY)
    /mime.c: 43 in mimegetboundary()
    37 int i, num;
    38 char* boundaryString = (char*)malloc(SIZEOF_MIMEBOUNDARY + 1);
    39
    40 /* A nonzero seed yields a deterministic boundary, so a message rendered
    41 * more than once (e.g. the DKIM sign/send two-pass) gets an identical 42 * boundary both times; seed==0 preserves the original time-seeded behavior. */
    &gt;&gt;&gt; CID 647057: High impact quality (Y2K38_SAFETY) &gt;&gt;&gt; A &quot;time_t&quot; value is stored in an integer with too few bits to accommodate it. The expression &quot;time(NULL)&quot; is cast to &quot;unsigned int&quot;.
    43 srand(seed != 0 ? seed : (unsigned int)time(NULL));
    44 if (boundaryString == NULL)
    45 return NULL;
    46 for (i = 0; i &lt; SIZEOF_MIMEBOUNDARY; i++) {
    47 num = (rand() % 62);
    48 if (num &lt; 10)

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6a3e755815a7c_97dd12bc3001679a440652--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Tue Jun 30 12:45:51 2026
    ----==_mimepart_6a43ba7ee4202_10fd2d07606579a05205c
    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 647297: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Jun-30-2026/src/conio/key.c: 34 in ciokey_init()


    _____________________________________________________________________________________________
    *** CID 647297: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Jun-30-2026/src/conio/key.c: 34 in ciokey_init()
    28 static pthread_once_t ciokey_initialized = PTHREAD_ONCE_INIT;
    29
    30 static void
    31 ciokey_init(void)
    32 {
    33 memset(&state, 0, sizeof(state));
    CID 647297: Concurrent data access violations (MISSING_LOCK) >>> Accessing "state.events" without holding lock "ciokey_state.mutex". Elsewhere, "ciokey_state.events" is written to with "ciokey_state.mutex" held 6 out of 8 times.
    34 listInit(&state.events, 0);
    35 assert_pthread_mutex_init(&state.mutex, NULL);
    36 state.wake_event = CreateEvent(NULL, FALSE, FALSE, NULL);
    37 }
    38
    39 static void


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6a43ba7ee4202_10fd2d07606579a05205c
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 647297: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Jun-30-2026/src/conio/key.c: 34 in ciokey_init()


    _____________________________________________________________________________________________
    *** CID 647297: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Jun-30-2026/src/conio/key.c: 34 in ciokey_init()
    28 static pthread_once_t ciokey_initialized = PTHREAD_ONCE_INIT;
    29
    30 static void
    31 ciokey_init(void)
    32 {
    33 memset(&amp;state, 0, sizeof(state));
    &gt;&gt;&gt; CID 647297: Concurrent data access violations (MISSING_LOCK)
    &gt;&gt;&gt; Accessing &quot;state.events&quot; without holding lock &quot;ciokey_state.mutex&quot;. Elsewhere, &quot;ciokey_state.events&quot; is written to with &quot;ciokey_state.mutex&quot; held 6 out of 8 times.
    34 listInit(&amp;state.events, 0);
    35 assert_pthread_mutex_init(&amp;state.mutex, NULL);
    36 state.wake_event = CreateEvent(NULL, FALSE, FALSE, NULL);
    37 }
    38
    39 static void

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6a43ba7ee4202_10fd2d07606579a05205c--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Mon Jul 6 12:49:33 2026
    ----==_mimepart_6a4ba45cb5511_60e5c2d07606579a0520e1
    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.
    1 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 648908: Resource leaks (RESOURCE_LEAK)
    /prntfile.cpp: 747 in sbbs_t::menu_exists_in(const char *, const char *, const char *, bool, char *)()


    _____________________________________________________________________________________________
    *** CID 648908: Resource leaks (RESOURCE_LEAK)
    /prntfile.cpp: 747 in sbbs_t::menu_exists_in(const char *, const char *, const char *, bool, char *)()
    741 if (*code == '.')
    742 *sub = '\0';
    743 if (mods)
    744 SAFEPRINTF3(prefix, "%stext/menu/%s%s", cfg.mods_dir, sub, code);
    745 else
    746 SAFEPRINTF3(prefix, "%smenu/%s%s", cfg.text_dir, sub, code);
    CID 648908: Resource leaks (RESOURCE_LEAK)
    Ignoring storage allocated by "_fullpath(path, prefix, 4096UL)" leaks it.
    747 FULLPATH(path, prefix, MAX_PATH);
    748 SAFECOPY(prefix, path);
    749 }
    750 // Display specified EXACT width file
    751 safe_snprintf(path, MAX_PATH, "%s.%ucol.%s", prefix, term->cols, ext);
    752 if (fexistcase(path))


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6a4ba45cb5511_60e5c2d07606579a0520e1
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li>
    1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 648908: Resource leaks (RESOURCE_LEAK)
    /prntfile.cpp: 747 in sbbs_t::menu_exists_in(const char *, const char *, const char *, bool, char *)()


    _____________________________________________________________________________________________
    *** CID 648908: Resource leaks (RESOURCE_LEAK)
    /prntfile.cpp: 747 in sbbs_t::menu_exists_in(const char *, const char *, const char *, bool, char *)()
    741 if (*code == &#39;.&#39;)
    742 *sub = &#39;\0&#39;;
    743 if (mods)
    744 SAFEPRINTF3(prefix, &quot;%stext/menu/%s%s&quot;, cfg.mods_dir, sub, code);
    745 else
    746 SAFEPRINTF3(prefix, &quot;%smenu/%s%s&quot;, cfg.text_dir, sub, code);
    &gt;&gt;&gt; CID 648908: Resource leaks (RESOURCE_LEAK) &gt;&gt;&gt; Ignoring storage allocated by &quot;_fullpath(path, prefix, 4096UL)&quot; leaks it.
    747 FULLPATH(path, prefix, MAX_PATH);
    748 SAFECOPY(prefix, path);
    749 }
    750 // Display specified EXACT width file
    751 safe_snprintf(path, MAX_PATH, &quot;%s.%ucol.%s&quot;, prefix, term-&gt;cols, ext);
    752 if (fexistcase(path))

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6a4ba45cb5511_60e5c2d07606579a0520e1--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to cov-scan@synchro.net on Thu Jul 23 12:50:43 2026
    ----==_mimepart_6a620e22ad580_52bcf2cbc189f39a89368
    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 651667: (INTEGER_OVERFLOW)
    /main.cpp: 2844 in output_thread(void *)()
    /main.cpp: 2806 in output_thread(void *)()


    _____________________________________________________________________________________________
    *** CID 651667: (INTEGER_OVERFLOW)
    /main.cpp: 2844 in output_thread(void *)()
    2838 int result = mqtt_pub_message(&mqtt, TOPIC_BBS, spy_topic, buf + bufbot, i, /* retain: */ false);
    2839 if (result != MQTT_SUCCESS)
    2840 lprintf(LOG_WARNING, "%s ERROR %d (%d) publishing node output (%u bytes): %s"
    2841 , node, result, errno, i, spy_topic);
    2842 }
    2843 if (spy_socket[sbbs->cfg.node_num - 1] != INVALID_SOCKET)
    CID 651667: (INTEGER_OVERFLOW)
    "i", which might have underflowed, is passed to "send(spy_socket[sbbs->cfg.node_num - 1], (char *)buf + bufbot, i, 0)".
    2844 if (sendsocket(spy_socket[sbbs->cfg.node_num - 1], (char*)buf + bufbot, i) != i && SOCKET_ERRNO != EPIPE)
    2845 errprintf(LOG_ERR, WHERE, "%s ERROR %d writing to spy socket", node, SOCKET_ERRNO);
    2846 #ifdef __unix__
    2847 if (uspy_socket[sbbs->cfg.node_num - 1] != INVALID_SOCKET)
    2848 if (sendsocket(uspy_socket[sbbs->cfg.node_num - 1], (char*)buf + bufbot, i) != i)
    2849 errprintf(LOG_ERR, WHERE, "%s ERROR %d writing to UNIX spy socket", node, SOCKET_ERRNO);
    /main.cpp: 2806 in output_thread(void *)()
    2800 }
    2801 }
    2802 pthread_mutex_unlock(&sbbs->ssh_mutex);
    2803 }
    2804 else
    2805 #endif
    CID 651667: (INTEGER_OVERFLOW)
    "sendbytes", which might have underflowed, is passed to "send(sbbs->client_socket.operator std::__atomic_base<int>::__int_type(), (char *)buf + bufbot, sendbytes, 0)".
    2806 i = sendsocket(sbbs->client_socket, (char*)buf + bufbot, sendbytes);
    2807 if (i == SOCKET_ERROR) {
    2808 SOCKET sock = sbbs->client_socket.load();
    2809 if (SOCKET_ERRNO == ENOTSOCK)
    2810 lprintf(LOG_NOTICE, "%04d %s [%s] client socket closed on send", sock, sbbs->client.protocol, sbbs->client_ipaddr);
    2811 else if (SOCKET_ERRNO == ECONNRESET)


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6a620e22ad580_52bcf2cbc189f39a89368
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 651667: (INTEGER_OVERFLOW)
    /main.cpp: 2844 in output_thread(void *)()
    /main.cpp: 2806 in output_thread(void *)()


    _____________________________________________________________________________________________
    *** CID 651667: (INTEGER_OVERFLOW)
    /main.cpp: 2844 in output_thread(void *)()
    2838 int result = mqtt_pub_message(&amp;mqtt, TOPIC_BBS, spy_topic, buf + bufbot, i, /* retain: */ false);
    2839 if (result != MQTT_SUCCESS)
    2840 lprintf(LOG_WARNING, &quot;%s ERROR %d (%d) publishing node output (%u bytes): %s&quot;
    2841 , node, result, errno, i, spy_topic);
    2842 }
    2843 if (spy_socket[sbbs-&gt;cfg.node_num - 1] != INVALID_SOCKET)
    &gt;&gt;&gt; CID 651667: (INTEGER_OVERFLOW)
    &gt;&gt;&gt; &quot;i&quot;, which might have underflowed, is passed to &quot;send(spy_socket[sbbs-&gt;cfg.node_num - 1], (char *)buf + bufbot, i, 0)&quot;.
    2844 if (sendsocket(spy_socket[sbbs-&gt;cfg.node_num - 1], (char*)buf + bufbot, i) != i &amp;&amp; SOCKET_ERRNO != EPIPE)
    2845 errprintf(LOG_ERR, WHERE, &quot;%s ERROR %d writing to spy socket&quot;, node, SOCKET_ERRNO);
    2846 #ifdef __unix__
    2847 if (uspy_socket[sbbs-&gt;cfg.node_num - 1] != INVALID_SOCKET)
    2848 if (sendsocket(uspy_socket[sbbs-&gt;cfg.node_num - 1], (char*)buf + bufbot, i) != i)
    2849 errprintf(LOG_ERR, WHERE, &quot;%s ERROR %d writing to UNIX spy socket&quot;, node, SOCKET_ERRNO);
    /main.cpp: 2806 in output_thread(void *)()
    2800 }
    2801 }
    2802 pthread_mutex_unlock(&amp;sbbs-&gt;ssh_mutex); 2803 }
    2804 else
    2805 #endif
    &gt;&gt;&gt; CID 651667: (INTEGER_OVERFLOW)
    &gt;&gt;&gt; &quot;sendbytes&quot;, which might have underflowed, is passed to &quot;send(sbbs-&gt;client_socket.operator std::__atomic_base&lt;int&gt;::__int_type(), (char *)buf + bufbot, sendbytes, 0)&quot;.
    2806 i = sendsocket(sbbs-&gt;client_socket, (char*)buf + bufbot, sendbytes);
    2807 if (i == SOCKET_ERROR) {
    2808 SOCKET sock = sbbs-&gt;client_socket.load(); 2809 if (SOCKET_ERRNO == ENOTSOCK)
    2810 lprintf(LOG_NOTICE, &quot;%04d %s [%s] client socket closed on send&quot;, sock, sbbs-&gt;client.protocol, sbbs-&gt;client_ipaddr);
    2811 else if (SOCKET_ERRNO == ECONNRESET)

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6a620e22ad580_52bcf2cbc189f39a89368--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to cov-scan@synchro.net on Tue Jul 28 21:16:18 2026
    ----==_mimepart_6a691c21b30db_ab3f32cbc189f39a8936c3
    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.
    1 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 651709: Resource leaks (RESOURCE_LEAK)
    /useredit.cpp: 108 in sbbs_t::useredit(int)()


    _____________________________________________________________________________________________
    *** CID 651709: Resource leaks (RESOURCE_LEAK)
    /useredit.cpp: 108 in sbbs_t::useredit(int)()
    102 if (user.comment[0] || i)
    103 bprintf(text[UeditCommentLine], i ? '+' : ' ' 104 , user.comment);
    105 else
    106 term->newline();
    107 if (localtime32(&user.laston, &tm) == NULL)
    CID 651709: Resource leaks (RESOURCE_LEAK)
    Variable "find_expr" going out of scope leaks the storage it points to. 108 return;
    109 bprintf(text[UserDates]
    110 , datestr(user.firston, str), datestr(user.expire, tmp)
    111 , datestr(user.laston, tmp2), tm.tm_hour, tm.tm_min);
    112
    113 bprintf(text[UserTimes]


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6a691c21b30db_ab3f32cbc189f39a8936c3
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li>
    1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 651709: Resource leaks (RESOURCE_LEAK)
    /useredit.cpp: 108 in sbbs_t::useredit(int)()


    _____________________________________________________________________________________________
    *** CID 651709: Resource leaks (RESOURCE_LEAK)
    /useredit.cpp: 108 in sbbs_t::useredit(int)()
    102 if (user.comment[0] || i)
    103 bprintf(text[UeditCommentLine], i ? &#39;+&#39; : &#39; &#39;
    104 , user.comment);
    105 else
    106 term-&gt;newline();
    107 if (localtime32(&amp;user.laston, &amp;tm) == NULL) &gt;&gt;&gt; CID 651709: Resource leaks (RESOURCE_LEAK) &gt;&gt;&gt; Variable &quot;find_expr&quot; going out of scope leaks the storage it points to.
    108 return;
    109 bprintf(text[UserDates]
    110 , datestr(user.firston, str), datestr(user.expire, tmp)
    111 , datestr(user.laston, tmp2), tm.tm_hour, tm.tm_min);
    112
    113 bprintf(text[UserTimes]

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6a691c21b30db_ab3f32cbc189f39a8936c3--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to cov-scan@synchro.net on Mon Aug 10 13:31:15 2026
    ----==_mimepart_6a79d2a36a35d_667552b3f398219ac62de
    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.
    1 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 652885: Integer handling issues (INTEGER_OVERFLOW)
    /useredit.cpp: 167 in sbbs_t::useredit(int)()


    _____________________________________________________________________________________________
    *** CID 652885: Integer handling issues (INTEGER_OVERFLOW) /useredit.cpp: 167 in sbbs_t::useredit(int)()
    161 bprintf(text[UeditPrompt], user.number, l);
    162 SAFEPRINTF4(str, "QG[]?/{}()%c%c%c%c", TERM_KEY_LEFT, TERM_KEY_RIGHT, TERM_KEY_HOME, TERM_KEY_END);
    163 if (user.level <= useron.level)
    164 SAFECAT(str, "ABCDEFHIJKLMNOPRSTUVWXYZ+~*$#"); 165 l = getkeys(str, l, K_UPPER | K_NOCRLF);
    166 if (l & 0x80000000L) {
    CID 652885: Integer handling issues (INTEGER_OVERFLOW)
    Expression "user.number", where "l & 0xffffffff7fffffffL" is known to be equal to -2147483649, overflows the type of "user.number", which is type "int".
    167 user.number = l & ~0x80000000L;
    168 continue;
    169 }
    170 if (IS_ALPHA(l) || strchr("~+*$/", l) != NULL) // non-alpha commands that prompt
    171 term->newline();
    172 switch (l) {


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6a79d2a36a35d_667552b3f398219ac62de
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li>
    1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 652885: Integer handling issues (INTEGER_OVERFLOW)
    /useredit.cpp: 167 in sbbs_t::useredit(int)()


    _____________________________________________________________________________________________
    *** CID 652885: Integer handling issues (INTEGER_OVERFLOW) /useredit.cpp: 167 in sbbs_t::useredit(int)()
    161 bprintf(text[UeditPrompt], user.number, l);
    162 SAFEPRINTF4(str, &quot;QG[]?/{}()%c%c%c%c&quot;, TERM_KEY_LEFT, TERM_KEY_RIGHT, TERM_KEY_HOME, TERM_KEY_END);
    163 if (user.level &lt;= useron.level)
    164 SAFECAT(str, &quot;ABCDEFHIJKLMNOPRSTUVWXYZ+~*$#&quot;);
    165 l = getkeys(str, l, K_UPPER | K_NOCRLF);
    166 if (l &amp; 0x80000000L) {
    &gt;&gt;&gt; CID 652885: Integer handling issues (INTEGER_OVERFLOW)
    &gt;&gt;&gt; Expression &quot;user.number&quot;, where &quot;l &amp; 0xffffffff7fffffffL&quot; is known to be equal to -2147483649, overflows the type of &quot;user.number&quot;, which is type &quot;int&quot;.
    167 user.number = l &amp; ~0x80000000L;
    168 continue;
    169 }
    170 if (IS_ALPHA(l) || strchr(&quot;~+*$/&quot;, l) != NULL) // non-alpha commands that prompt
    171 term-&gt;newline();
    172 switch (l) {

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6a79d2a36a35d_667552b3f398219ac62de--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Thu Aug 20 12:49:16 2026
    ----==_mimepart_6a86f7cb759c0_1065402c19123819ac73024
    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 653403: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 214 in total_users()


    _____________________________________________________________________________________________
    *** CID 653403: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 214 in total_users()
    208 lock is a synchronous round-trip that dominates the cost of this scan
    209 when the data directory is network-mounted, and no amount of locking
    210 makes the result more current than the snapshot it already is. */
    211 do {
    212 got = 0;
    213 while (got < bufsize) {
    CID 653403: Insecure data handling (INTEGER_OVERFLOW)
    "64000UL - got", which might have underflowed, is passed to "read(file, buf + got, 64000UL - got)".
    214 ssize_t rd = read(file, buf + got, bufsize - got);
    215 if (rd <= 0)
    216 break;
    217 got += (size_t)rd;
    218 }
    219 for (size_t offset = 0; offset + USER_RECORD_LINE_LEN <= got; offset += USER_RECORD_LINE_LEN) {


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6a86f7cb759c0_1065402c19123819ac73024
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li>
    2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 653403: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 214 in total_users()


    _____________________________________________________________________________________________
    *** CID 653403: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 214 in total_users()
    208 lock is a synchronous round-trip that dominates the cost of this scan
    209 when the data directory is network-mounted, and no amount of locking
    210 makes the result more current than the snapshot it already is. */
    211 do {
    212 got = 0;
    213 while (got &lt; bufsize) {
    &gt;&gt;&gt; CID 653403: Insecure data handling (INTEGER_OVERFLOW) &gt;&gt;&gt; &quot;64000UL - got&quot;, which might have underflowed, is passed to &quot;read(file, buf + got, 64000UL - got)&quot;.
    214 ssize_t rd = read(file, buf + got, bufsize - got);
    215 if (rd &lt;= 0)
    216 break;
    217 got += (size_t)rd;
    218 }
    219 for (size_t offset = 0; offset + USER_RECORD_LINE_LEN &lt;= got; offset += USER_RECORD_LINE_LEN) {

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6a86f7cb759c0_1065402c19123819ac73024--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Sun Aug 30 12:51:09 2026
    ----==_mimepart_6a94273d447c5_1a4ee42b3f152419ac2932a
    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.

    3 new defect(s) introduced to Synchronet found with Coverity Scan.
    1 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 3 of 3 defect(s)


    ** CID 654570: (CHECKED_RETURN)
    /xtrn_sec.cpp: 1223 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int)()
    /xtrn_sec.cpp: 1213 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int)()


    _____________________________________________________________________________________________
    *** CID 654570: (CHECKED_RETURN)
    /xtrn_sec.cpp: 1223 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int)()
    1217 int chmod_result = CHMOD(str, _S_IREAD);
    1218 #else
    1219 int chmod_result = CHMOD(str, S_IRUSR);
    1220 #endif
    1221 if (chmod_result != 0) {
    1222 errormsg(WHERE, ERR_WRITE, str, errno);
    CID 654570: (CHECKED_RETURN)
    Calling "remove(str)" without checking return value. This library function may fail and return an error code.
    1223 remove(str);
    1224 return false;
    1225 }
    1226 }
    1227
    1228 else if (type)
    /xtrn_sec.cpp: 1213 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int)()
    1207 }
    1208 bool write_ok = bbsdev_write(fp, lines, sizeof(lines) / sizeof(lines[0]));
    1209 if (fclose(fp) != 0)
    1210 write_ok = false;
    1211 if (!write_ok) {
    1212 errormsg(WHERE, ERR_WRITE, str, 0);
    CID 654570: (CHECKED_RETURN)
    Calling "remove(str)" without checking return value. This library function may fail and return an error code.
    1213 remove(str);
    1214 return false;
    1215 }
    1216 #if defined(_WIN32)
    1217 int chmod_result = CHMOD(str, _S_IREAD);
    1218 #else

    ** CID 654569: Memory - illegal accesses (OVERRUN)
    /xtrn_sec.cpp: 101 in bbsdev_language_tag_valid(const char *)()


    _____________________________________________________________________________________________
    *** CID 654569: Memory - illegal accesses (OVERRUN)
    /xtrn_sec.cpp: 101 in bbsdev_language_tag_valid(const char *)()
    95 || (lengths[at] == 4 && isdigit((unsigned char)parts[at][0])
    96 && bbsdev_subtag_chars(parts[at] + 1, 3, isalnum))))
    97 at++;
    98 while (at < count && lengths[at] == 1
    99 && tolower((unsigned char)parts[at][0]) != 'x') {
    100 at++;
    CID 654569: Memory - illegal accesses (OVERRUN)
    Overrunning array "lengths" of 32 8-byte elements at element index 32 (byte offset 263) using index "at" (which evaluates to 32).
    101 if (at == count || lengths[at] < 2)
    102 return false;
    103 while (at < count && lengths[at] >= 2)
    104 at++;
    105 }
    106 if (at < count && lengths[at] == 1 && tolower((unsigned char)parts[at][0]) == 'x')

    ** CID 654568: (RESOURCE_LEAK)
    /xtrn.cpp: 1925 in sbbs_t::external(const char *, int, const char *, const char *)()
    /xtrn.cpp: 1925 in sbbs_t::external(const char *, int, const char *, const char *)()


    _____________________________________________________________________________________________
    *** CID 654568: (RESOURCE_LEAK)
    /xtrn.cpp: 1925 in sbbs_t::external(const char *, int, const char *, const char *)()
    1919 dup2(fd, STDOUT_FILENO);
    1920 if (!(mode & EX_NOLOG))
    1921 dup2(fd, STDERR_FILENO);
    1922 if (fd > 2)
    1923 close(fd);
    1924 }
    CID 654568: (RESOURCE_LEAK)
    Handle variable "fd" going out of scope leaks the handle.
    1925 }
    1926
    1927 if (mode & EX_BG) /* background execution, detach child */
    1928 {
    1929 if (daemon(TRUE, FALSE) != 0)
    1930 lprintf(LOG_ERR, "!ERROR %d (%s) daemonizing: %s", errno, strerror(errno), argv[0]);
    /xtrn.cpp: 1925 in sbbs_t::external(const char *, int, const char *, const char *)()
    1919 dup2(fd, STDOUT_FILENO);
    1920 if (!(mode & EX_NOLOG))
    1921 dup2(fd, STDERR_FILENO);
    1922 if (fd > 2)
    1923 close(fd);
    1924 }
    CID 654568: (RESOURCE_LEAK)
    Handle variable "fd" going out of scope leaks the handle.
    1925 }
    1926
    1927 if (mode & EX_BG) /* background execution, detach child */
    1928 {
    1929 if (daemon(TRUE, FALSE) != 0)
    1930 lprintf(LOG_ERR, "!ERROR %d (%s) daemonizing: %s", errno, strerror(errno), argv[0]);


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6a94273d447c5_1a4ee42b3f152419ac2932a
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 3</li>
    <li>
    1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 3 of 3 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 654570: (CHECKED_RETURN)
    /xtrn_sec.cpp: 1223 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int)()
    /xtrn_sec.cpp: 1213 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int)()


    _____________________________________________________________________________________________
    *** CID 654570: (CHECKED_RETURN)
    /xtrn_sec.cpp: 1223 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int)()
    1217 int chmod_result = CHMOD(str, _S_IREAD);
    1218 #else
    1219 int chmod_result = CHMOD(str, S_IRUSR);
    1220 #endif
    1221 if (chmod_result != 0) {
    1222 errormsg(WHERE, ERR_WRITE, str, errno); &gt;&gt;&gt; CID 654570: (CHECKED_RETURN)
    &gt;&gt;&gt; Calling &quot;remove(str)&quot; without checking return value. This library function may fail and return an error code.
    1223 remove(str);
    1224 return false;
    1225 }
    1226 }
    1227
    1228 else if (type)
    /xtrn_sec.cpp: 1213 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int)()
    1207 }
    1208 bool write_ok = bbsdev_write(fp, lines, sizeof(lines) / sizeof(lines[0]));
    1209 if (fclose(fp) != 0)
    1210 write_ok = false;
    1211 if (!write_ok) {
    1212 errormsg(WHERE, ERR_WRITE, str, 0); &gt;&gt;&gt; CID 654570: (CHECKED_RETURN)
    &gt;&gt;&gt; Calling &quot;remove(str)&quot; without checking return value. This library function may fail and return an error code.
    1213 remove(str);
    1214 return false;
    1215 }
    1216 #if defined(_WIN32)
    1217 int chmod_result = CHMOD(str, _S_IREAD);
    1218 #else

    ** CID 654569: Memory - illegal accesses (OVERRUN)
    /xtrn_sec.cpp: 101 in bbsdev_language_tag_valid(const char *)()


    _____________________________________________________________________________________________
    *** CID 654569: Memory - illegal accesses (OVERRUN)
    /xtrn_sec.cpp: 101 in bbsdev_language_tag_valid(const char *)()
    95 || (lengths[at] == 4 &amp;&amp; isdigit((unsigned char)parts[at][0])
    96 &amp;&amp; bbsdev_subtag_chars(parts[at] + 1, 3, isalnum))))
    97 at++;
    98 while (at &lt; count &amp;&amp; lengths[at] == 1
    99 &amp;&amp; tolower((unsigned char)parts[at][0]) != &#39;x&#39;) { 100 at++;
    &gt;&gt;&gt; CID 654569: Memory - illegal accesses (OVERRUN) &gt;&gt;&gt; Overrunning array &quot;lengths&quot; of 32 8-byte elements at element index 32 (byte offset 263) using index &quot;at&quot; (which evaluates to 32).
    101 if (at == count || lengths[at] &lt; 2)
    102 return false;
    103 while (at &lt; count &amp;&amp; lengths[at] &gt;= 2) 104 at++;
    105 }
    106 if (at &lt; count &amp;&amp; lengths[at] == 1 &amp;&amp; tolower((unsigned char)parts[at][0]) == &#39;x&#39;)

    ** CID 654568: (RESOURCE_LEAK)
    /xtrn.cpp: 1925 in sbbs_t::external(const char *, int, const char *, const char *)()
    /xtrn.cpp: 1925 in sbbs_t::external(const char *, int, const char *, const char *)()


    _____________________________________________________________________________________________
    *** CID 654568: (RESOURCE_LEAK)
    /xtrn.cpp: 1925 in sbbs_t::external(const char *, int, const char *, const char *)()
    1919 dup2(fd, STDOUT_FILENO);
    1920 if (!(mode &amp; EX_NOLOG))
    1921 dup2(fd, STDERR_FILENO);
    1922 if (fd &gt; 2)
    1923 close(fd);
    1924 }
    &gt;&gt;&gt; CID 654568: (RESOURCE_LEAK)
    &gt;&gt;&gt; Handle variable &quot;fd&quot; going out of scope leaks the handle.
    1925 }
    1926
    1927 if (mode &amp; EX_BG) /* background execution, detach child */
    1928 {
    1929 if (daemon(TRUE, FALSE) != 0)
    1930 lprintf(LOG_ERR, &quot;!ERROR %d (%s) daemonizing: %s&quot;, errno, strerror(errno), argv[0]);
    /xtrn.cpp: 1925 in sbbs_t::external(const char *, int, const char *, const char *)()
    1919 dup2(fd, STDOUT_FILENO);
    1920 if (!(mode &amp; EX_NOLOG))
    1921 dup2(fd, STDERR_FILENO);
    1922 if (fd &gt; 2)
    1923 close(fd);
    1924 }
    &gt;&gt;&gt; CID 654568: (RESOURCE_LEAK)
    &gt;&gt;&gt; Handle variable &quot;fd&quot; going out of scope leaks the handle.
    1925 }
    1926
    1927 if (mode &amp; EX_BG) /* background execution, detach child */
    1928 {
    1929 if (daemon(TRUE, FALSE) != 0)
    1930 lprintf(LOG_ERR, &quot;!ERROR %d (%s) daemonizing: %s&quot;, errno, strerror(errno), argv[0]);

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6a94273d447c5_1a4ee42b3f152419ac2932a--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Mon Sep 7 14:25:22 2026
    ----==_mimepart_6a9ec9519c7f0_2264d92b3f152419ac2938d
    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 655740: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Sep-07-2026/src/conio/sdl_con.c: 501 in sdl_init()


    _____________________________________________________________________________________________
    *** CID 655740: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Sep-07-2026/src/conio/sdl_con.c: 501 in sdl_init()
    495 _beginthread(sdl_video_event_thread, 0, NULL);
    496 #endif
    497 sdl_user_func_ret(SDL_USEREVENT_INIT);
    498 sdl_init_mode(ciolib_initial_mode);
    499
    500 if(sdl_init_good) {
    CID 655740: Concurrent data access violations (MISSING_LOCK) >>> Accessing "fullscreen" without holding lock "win_mutex". Elsewhere, "fullscreen" is written to with "win_mutex" held 3 out of 3 times (3 of these accesses strongly imply that it is necessary).
    501 cio_api.mode=fullscreen?CIOLIB_MODE_SDL_FULLSCREEN:CIOLIB_MODE_SDL;
    502 #ifdef _WIN32
    503 FreeConsole();
    504 #endif
    505 cio_api.options |= CONIO_OPT_PALETTE_SETTING | CONIO_OPT_SET_TITLE | CONIO_OPT_SET_NAME | CONIO_OPT_SET_ICON | CONIO_OPT_EXTERNAL_SCALING | CONIO_OPT_KEY_EVENTS;
    506 return(0);

    ** CID 655739: (ATOMICITY)
    /main.cpp: 2782 in output_thread(void *)()
    /main.cpp: 2764 in output_thread(void *)()


    _____________________________________________________________________________________________
    *** CID 655739: (ATOMICITY)
    /main.cpp: 2782 in output_thread(void *)()
    2776 /* Handle the SSH error here. The lprintf inside GCESSTR
    2777 * runs while ssh_mutex is held; releasing+reacquiring it
    2778 * across the error report would make the error-handling
    2779 * sequence racy (ssh_errors++, online=FALSE) and is the
    2780 * wrong tradeoff for a fast log write. */
    2781 // coverity[SLEEP:SUPPRESS]
    CID 655739: (ATOMICITY)
    Using an unreliable value of "GCES_level" inside the second locked section. If the data that "GCES_level" depends on was changed by another thread, this use might be incorrect.
    2782 GCESSTR(err, node, sbbs->ssh_session, "pushing data");
    2783 sbbs->online = false; 2784 sendbytes = buftop - bufbot;
    2785 i = sendbytes; // Pretend we sent it all
    2786 }
    2787 else {
    /main.cpp: 2764 in output_thread(void *)()
    2758 }
    2759 if (sbbs->session_channel == -1) {
    2760 i = sendbytes; // Pretend we sent it all
    2761 }
    2762 else {
    2763 if (cryptStatusError((err = cryptSetAttribute(sbbs->ssh_session, CRYPT_SESSINFO_SSH_CHANNEL, sbbs->session_channel)))) {
    CID 655739: (ATOMICITY)
    Using an unreliable value of "GCES_level" inside the second locked section. If the data that "GCES_level" depends on was changed by another thread, this use might be incorrect.
    2764 GCESSTR(err, node, sbbs->ssh_session, "setting channel");
    2765 sbbs->online = false;
    2766 i = sendbytes; // Pretend we sent it all
    2767 }
    2768 else {
    2769 /*


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6a9ec9519c7f0_2264d92b3f152419ac2938d
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 2</li>
    <li><strong>Defects Shown:</strong> Showing 2 of 2 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 655740: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Sep-07-2026/src/conio/sdl_con.c: 501 in sdl_init()


    _____________________________________________________________________________________________
    *** CID 655740: Concurrent data access violations (MISSING_LOCK) /tmp/sbbs-Sep-07-2026/src/conio/sdl_con.c: 501 in sdl_init()
    495 _beginthread(sdl_video_event_thread, 0, NULL);
    496 #endif
    497 sdl_user_func_ret(SDL_USEREVENT_INIT);
    498 sdl_init_mode(ciolib_initial_mode);
    499
    500 if(sdl_init_good) {
    &gt;&gt;&gt; CID 655740: Concurrent data access violations (MISSING_LOCK)
    &gt;&gt;&gt; Accessing &quot;fullscreen&quot; without holding lock &quot;win_mutex&quot;. Elsewhere, &quot;fullscreen&quot; is written to with &quot;win_mutex&quot; held 3 out of 3 times (3 of these accesses strongly imply that it is necessary).
    501 cio_api.mode=fullscreen?CIOLIB_MODE_SDL_FULLSCREEN:CIOLIB_MODE_SDL;
    502 #ifdef _WIN32
    503 FreeConsole();
    504 #endif
    505 cio_api.options |= CONIO_OPT_PALETTE_SETTING | CONIO_OPT_SET_TITLE | CONIO_OPT_SET_NAME | CONIO_OPT_SET_ICON | CONIO_OPT_EXTERNAL_SCALING | CONIO_OPT_KEY_EVENTS;
    506 return(0);

    ** CID 655739: (ATOMICITY)
    /main.cpp: 2782 in output_thread(void *)()
    /main.cpp: 2764 in output_thread(void *)()


    _____________________________________________________________________________________________
    *** CID 655739: (ATOMICITY)
    /main.cpp: 2782 in output_thread(void *)()
    2776 /* Handle the SSH error here. The lprintf inside GCESSTR
    2777 * runs while ssh_mutex is held; releasing+reacquiring it
    2778 * across the error report would make the error-handling
    2779 * sequence racy (ssh_errors++, online=FALSE) and is the
    2780 * wrong tradeoff for a fast log write. */
    2781 // coverity[SLEEP:SUPPRESS]
    &gt;&gt;&gt; CID 655739: (ATOMICITY)
    &gt;&gt;&gt; Using an unreliable value of &quot;GCES_level&quot; inside the second locked section. If the data that &quot;GCES_level&quot; depends on was changed by another thread, this use might be incorrect.
    2782 GCESSTR(err, node, sbbs-&gt;ssh_session, &quot;pushing data&quot;);
    2783 sbbs-&gt;online = false;
    2784 sendbytes = buftop - bufbot;
    2785 i = sendbytes; // Pretend we sent it all
    2786 }
    2787 else {
    /main.cpp: 2764 in output_thread(void *)()
    2758 }
    2759 if (sbbs-&gt;session_channel == -1) {
    2760 i = sendbytes; // Pretend we sent it all
    2761 }
    2762 else {
    2763 if (cryptStatusError((err = cryptSetAttribute(sbbs-&gt;ssh_session, CRYPT_SESSINFO_SSH_CHANNEL, sbbs-&gt;session_channel)))) {
    &gt;&gt;&gt; CID 655739: (ATOMICITY)
    &gt;&gt;&gt; Using an unreliable value of &quot;GCES_level&quot; inside the second locked section. If the data that &quot;GCES_level&quot; depends on was changed by another thread, this use might be incorrect.
    2764 GCESSTR(err, node, sbbs-&gt;ssh_session, &quot;setting channel&quot;);
    2765 sbbs-&gt;online = false;
    2766 i = sendbytes; // Pretend we sent it all
    2767 }
    2768 else {
    2769 /*

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6a9ec9519c7f0_2264d92b3f152419ac2938d--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to cov-scan@synchro.net on Mon Sep 14 13:45:35 2026
    ----==_mimepart_6aa7fa7ebcb51_297e652b6718b7799c607a
    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.
    1 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 656168: High impact quality (Y2K38_SAFETY)
    /main.cpp: 4542 in update_client_ini(sbbs_t *, const long *)()


    _____________________________________________________________________________________________
    *** CID 656168: High impact quality (Y2K38_SAFETY)
    /main.cpp: 4542 in update_client_ini(sbbs_t *, const long *)()
    4536 iniCloseFile(fp);
    4537 return;
    4538 }
    4539 iniSetUInteger(&ini, ROOT_SECTION, "user", (uint)sbbs->useron.number, NULL);
    4540 iniSetString(&ini, ROOT_SECTION, "name", sbbs->useron.alias, NULL);
    4541 if (done != NULL)
    CID 656168: High impact quality (Y2K38_SAFETY)
    A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "*done" is cast to "uint".
    4542 iniSetUInteger(&ini, ROOT_SECTION, "done", (uint)*done, NULL);
    4543 iniWriteFile(fp, ini);
    4544 iniCloseFile(fp);
    4545 iniFreeStringList(ini);
    4546 }
    4547


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6aa7fa7ebcb51_297e652b6718b7799c607a
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li>
    1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 656168: High impact quality (Y2K38_SAFETY)
    /main.cpp: 4542 in update_client_ini(sbbs_t *, const long *)()


    _____________________________________________________________________________________________
    *** CID 656168: High impact quality (Y2K38_SAFETY)
    /main.cpp: 4542 in update_client_ini(sbbs_t *, const long *)()
    4536 iniCloseFile(fp);
    4537 return;
    4538 }
    4539 iniSetUInteger(&amp;ini, ROOT_SECTION, &quot;user&quot;, (uint)sbbs-&gt;useron.number, NULL);
    4540 iniSetString(&amp;ini, ROOT_SECTION, &quot;name&quot;, sbbs-&gt;useron.alias, NULL);
    4541 if (done != NULL)
    &gt;&gt;&gt; CID 656168: High impact quality (Y2K38_SAFETY) &gt;&gt;&gt; A &quot;time_t&quot; value is stored in an integer with too few bits to accommodate it. The expression &quot;*done&quot; is cast to &quot;uint&quot;.
    4542 iniSetUInteger(&amp;ini, ROOT_SECTION, &quot;done&quot;, (uint)*done, NULL);
    4543 iniWriteFile(fp, ini);
    4544 iniCloseFile(fp);
    4545 iniFreeStringList(ini);
    4546 }
    4547

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6aa7fa7ebcb51_297e652b6718b7799c607a--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to cov-scan@synchro.net on Fri Sep 25 14:41:33 2026
    ----==_mimepart_6ab6881d2c31b_354bfd2b6718b7799c6040
    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 656507: Error handling issues (CHECKED_RETURN) /tmp/sbbs-Sep-24-2026/src/xpdev/genwrap.c: 1530 in xp_pipe_open()


    _____________________________________________________________________________________________
    *** CID 656507: Error handling issues (CHECKED_RETURN) /tmp/sbbs-Sep-24-2026/src/xpdev/genwrap.c: 1530 in xp_pipe_open() 1524 FILE* fp;
    1525
    1526 /* A pipe is one-way, so the bidirectional mode gets a socket pair,
    1527 which is what the BSD popen() uses for it. */
    1528 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) != 0)
    1529 return NULL;
    CID 656507: Error handling issues (CHECKED_RETURN)
    Calling "fcntl(sv[0], 2, 1)" without checking return value. This library function may fail and return an error code.
    1530 fcntl(sv[0], F_SETFD, FD_CLOEXEC); /* our end isn't the command's */
    1531 if ((pid = fork()) == 0) {
    1532 close(sv[0]);
    1533 dup2(sv[1], STDIN_FILENO);
    1534 dup2(sv[1], STDOUT_FILENO);
    1535 if (sv[1] > STDERR_FILENO)


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6ab6881d2c31b_354bfd2b6718b7799c6040
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li>
    2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 656507: Error handling issues (CHECKED_RETURN) /tmp/sbbs-Sep-24-2026/src/xpdev/genwrap.c: 1530 in xp_pipe_open()


    _____________________________________________________________________________________________
    *** CID 656507: Error handling issues (CHECKED_RETURN) /tmp/sbbs-Sep-24-2026/src/xpdev/genwrap.c: 1530 in xp_pipe_open() 1524 FILE* fp;
    1525
    1526 /* A pipe is one-way, so the bidirectional mode gets a socket pair,
    1527 which is what the BSD popen() uses for it. */
    1528 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) != 0)
    1529 return NULL;
    &gt;&gt;&gt; CID 656507: Error handling issues (CHECKED_RETURN) &gt;&gt;&gt; Calling &quot;fcntl(sv[0], 2, 1)&quot; without checking return value. This library function may fail and return an error code.
    1530 fcntl(sv[0], F_SETFD, FD_CLOEXEC); /* our end isn&#39;t the command&#39;s */
    1531 if ((pid = fork()) == 0) {
    1532 close(sv[0]);
    1533 dup2(sv[1], STDIN_FILENO);
    1534 dup2(sv[1], STDOUT_FILENO);
    1535 if (sv[1] &gt; STDERR_FILENO)

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6ab6881d2c31b_354bfd2b6718b7799c6040--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Thu Oct 1 10:10:40 2026
    ----==_mimepart_6abe319fc4e9d_3b64712c3f1480d994457d6
    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.

    5 new defect(s) introduced to Synchronet found with Coverity Scan.
    1 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 5 of 5 defect(s)


    ** CID 656690: Error handling issues (CHECKED_RETURN)
    /websrvr.cpp: 2622 in js_add_cookieval(http_session_t *, const char *, const char *)()


    _____________________________________________________________________________________________
    *** CID 656690: Error handling issues (CHECKED_RETURN)
    /websrvr.cpp: 2622 in js_add_cookieval(http_session_t *, const char *, const char *)()
    2616 errprintf(LOG_ERR, WHERE, "%04d %-5s [%s] failed to create JSString for cookie value '%s', key=%s"
    2617 , session->socket, session->client.protocol, session->host_ip, value, key);
    2618 else {
    2619 lprintf(LOG_DEBUG, "%04d %-5s [%s] Adding cookie value %s=%s at pos %d"
    2620 , session->socket, session->client.protocol, session->host_ip, key, value, alen);
    2621 val = STRING_TO_JSVAL(js_str);
    CID 656690: Error handling issues (CHECKED_RETURN)
    Calling "JS_SetElement" without checking return value (as is done elsewhere 32 out of 40 times).
    2622 JS_SetElement(session->js_cx, keyarray, alen, &val); 2623 }
    2624 }
    2625
    2626 static void js_add_request_property(http_session_t * session, const char *key, const char *value, size_t len, bool writeable)
    2627 {

    ** CID 656689: Error handling issues (CHECKED_RETURN)
    /str.cpp: 1190 in sbbs_t::xfer_prot_menu(XFER_TYPE, user_t *, char *, unsigned long, const char *)()


    _____________________________________________________________________________________________
    *** CID 656689: Error handling issues (CHECKED_RETURN)
    /str.cpp: 1190 in sbbs_t::xfer_prot_menu(XFER_TYPE, user_t *, char *, unsigned long, const char *)()
    1184 for (int i = 0; i < cfg.total_prots; i++) {
    1185 if (available(i) && count + 1 < size)
    1186 keys[count++] = cfg.prot[i]->mnemonic; 1187 }
    1188 keys[count] = '\0';
    1189 if (extra_keys != nullptr)
    CID 656689: Error handling issues (CHECKED_RETURN)
    Calling "strlcat" without checking return value (as is done elsewhere 29 out of 31 times).
    1190 strlcat(keys, extra_keys, size);
    1191 set_cmd_keys(keys);
    1192 }
    1193 if (type == XFER_DOWNLOAD && current_file != nullptr)
    1194 menu("download", P_NOERROR);
    1195 bool menu_used = menu(prot_menu_file[type], P_NOERROR);

    ** CID 656688: Memory - corruptions (ARRAY_VS_SINGLETON)


    _____________________________________________________________________________________________
    *** CID 656688: Memory - corruptions (ARRAY_VS_SINGLETON) /js_console.cpp: 93 in js_key_str(JSContext *, char)()
    87 , CON_PROP_OUTPUT_RATE
    88 };
    89
    90 extern JSClass js_console_class;
    91 static JSString* js_key_str(JSContext* cx, char key)
    92 {
    CID 656688: Memory - corruptions (ARRAY_VS_SINGLETON)
    Passing "&key" to function "JS_NewStringCopyN" which uses it as an array. This might corrupt or misinterpret adjacent memory locations.
    93 return JS_NewStringCopyN(cx, &key, key == 0 ? 0 : 1);
    94 }
    95
    96 static JSBool js_console_get(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
    97 {
    98 jsval idval;

    ** CID 656687: (CHECKED_RETURN)
    /qwk.cpp: 456 in sbbs_t::qwk_download()()
    /qwk.cpp: 417 in sbbs_t::qwk_download()()


    _____________________________________________________________________________________________
    *** CID 656687: (CHECKED_RETURN)
    /qwk.cpp: 456 in sbbs_t::qwk_download()()
    450 }
    451 if (!sent) {
    452 for (int i = 0; i < cfg.total_subs; i++)
    453 subscan[i].ptr = sav_ptr[i];
    454 last_ns_time = ns_time;
    455 }
    CID 656687: (CHECKED_RETURN)
    Calling "remove(path)" without checking return value. This library function may fail and return an error code.
    456 remove(path);
    457 free(sav_ptr);
    458 return sent;
    459 }
    460
    461 /****************************************************************************/
    /qwk.cpp: 417 in sbbs_t::qwk_download()()
    411 return false;
    412 }
    413 for (int i = 0; i < cfg.total_subs; i++)
    414 sav_ptr[i] = subscan[i].ptr;
    415 snprintf(path, sizeof path, "%s%s.qwk", cfg.temp_dir, cfg.sys_id);
    416 snprintf(fname, sizeof fname, "%s.qwk", cfg.sys_id);
    CID 656687: (CHECKED_RETURN)
    Calling "remove(path)" without checking return value. This library function may fail and return an error code.
    417 remove(path);
    418 if (pack_qwk(path, &msgcnt, /* prepack: */ false)) {
    419 off_t l = flength(path);
    420 bprintf(text[FiFilename], getfname(path));
    421 bprintf(text[FiFileSize], u64toac(l, tmp)
    422 , byte_estimate_to_str(l, tmp2, sizeof(tmp2), /* units: */ 1024, /* precision: */ 1));

    ** CID 656686: Error handling issues (CHECKED_RETURN)
    /websrvr.cpp: 2584 in js_add_queryval(http_session_t *, const char *, const char *)()


    _____________________________________________________________________________________________
    *** CID 656686: Error handling issues (CHECKED_RETURN)
    /websrvr.cpp: 2584 in js_add_queryval(http_session_t *, const char *, const char *)()
    2578 errprintf(LOG_ERR, WHERE, "%04d %-5s [%s] failed to create JSString for query value '%s', key=%s"
    2579 , session->socket, session->client.protocol, session->host_ip, value, key);
    2580 else {
    2581 lprintf(LOG_DEBUG, "%04d %-5s [%s] Adding query value %s=%s at pos %d"
    2582 , session->socket, session->client.protocol, session->host_ip, key, value, alen);
    2583 val = STRING_TO_JSVAL(js_str);
    CID 656686: Error handling issues (CHECKED_RETURN)
    Calling "JS_SetElement" without checking return value (as is done elsewhere 32 out of 40 times).
    2584 JS_SetElement(session->js_cx, keyarray, alen, &val); 2585 }
    2586 }
    2587
    2588 static void js_add_cookieval(http_session_t * session, const char *key, const char *value)
    2589 {


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6abe319fc4e9d_3b64712c3f1480d994457d6
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 5</li>
    <li>
    1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 5 of 5 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 656690: Error handling issues (CHECKED_RETURN)
    /websrvr.cpp: 2622 in js_add_cookieval(http_session_t *, const char *, const char *)()


    _____________________________________________________________________________________________
    *** CID 656690: Error handling issues (CHECKED_RETURN)
    /websrvr.cpp: 2622 in js_add_cookieval(http_session_t *, const char *, const char *)()
    2616 errprintf(LOG_ERR, WHERE, &quot;%04d %-5s [%s] failed to create JSString for cookie value &#39;%s&#39;, key=%s&quot;
    2617 , session-&gt;socket, session-&gt;client.protocol, session-&gt;host_ip, value, key);
    2618 else {
    2619 lprintf(LOG_DEBUG, &quot;%04d %-5s [%s] Adding cookie value %s=%s at pos %d&quot;
    2620 , session-&gt;socket, session-&gt;client.protocol, session-&gt;host_ip, key, value, alen);
    2621 val = STRING_TO_JSVAL(js_str);
    &gt;&gt;&gt; CID 656690: Error handling issues (CHECKED_RETURN) &gt;&gt;&gt; Calling &quot;JS_SetElement&quot; without checking return value (as is done elsewhere 32 out of 40 times).
    2622 JS_SetElement(session-&gt;js_cx, keyarray, alen, &amp;val);
    2623 }
    2624 }
    2625
    2626 static void js_add_request_property(http_session_t * session, const char *key, const char *value, size_t len, bool writeable)
    2627 {

    ** CID 656689: Error handling issues (CHECKED_RETURN)
    /str.cpp: 1190 in sbbs_t::xfer_prot_menu(XFER_TYPE, user_t *, char *, unsigned long, const char *)()


    _____________________________________________________________________________________________
    *** CID 656689: Error handling issues (CHECKED_RETURN)
    /str.cpp: 1190 in sbbs_t::xfer_prot_menu(XFER_TYPE, user_t *, char *, unsigned long, const char *)()
    1184 for (int i = 0; i &lt; cfg.total_prots; i++) {
    1185 if (available(i) &amp;&amp; count + 1 &lt; size)
    1186 keys[count++] = cfg.prot[i]-&gt;mnemonic;
    1187 }
    1188 keys[count] = &#39;\0&#39;;
    1189 if (extra_keys != nullptr)
    &gt;&gt;&gt; CID 656689: Error handling issues (CHECKED_RETURN) &gt;&gt;&gt; Calling &quot;strlcat&quot; without checking return value (as is done elsewhere 29 out of 31 times).
    1190 strlcat(keys, extra_keys, size);
    1191 set_cmd_keys(keys);
    1192 }
    1193 if (type == XFER_DOWNLOAD &amp;&amp; current_file != nullptr) 1194 menu(&quot;download&quot;, P_NOERROR);
    1195 bool menu_used = menu(prot_menu_file[type], P_NOERROR);

    ** CID 656688: Memory - corruptions (ARRAY_VS_SINGLETON)


    _____________________________________________________________________________________________
    *** CID 656688: Memory - corruptions (ARRAY_VS_SINGLETON) /js_console.cpp: 93 in js_key_str(JSContext *, char)()
    87 , CON_PROP_OUTPUT_RATE
    88 };
    89
    90 extern JSClass js_console_class;
    91 static JSString* js_key_str(JSContext* cx, char key)
    92 {
    &gt;&gt;&gt; CID 656688: Memory - corruptions (ARRAY_VS_SINGLETON) &gt;&gt;&gt; Passing &quot;&amp;key&quot; to function &quot;JS_NewStringCopyN&quot; which uses it as an array. This might corrupt or misinterpret adjacent memory locations.
    93 return JS_NewStringCopyN(cx, &amp;key, key == 0 ? 0 : 1);
    94 }
    95
    96 static JSBool js_console_get(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
    97 {
    98 jsval idval;

    ** CID 656687: (CHECKED_RETURN)
    /qwk.cpp: 456 in sbbs_t::qwk_download()()
    /qwk.cpp: 417 in sbbs_t::qwk_download()()


    _____________________________________________________________________________________________
    *** CID 656687: (CHECKED_RETURN)
    /qwk.cpp: 456 in sbbs_t::qwk_download()()
    450 }
    451 if (!sent) {
    452 for (int i = 0; i &lt; cfg.total_subs; i++)
    453 subscan[i].ptr = sav_ptr[i];
    454 last_ns_time = ns_time;
    455 }
    &gt;&gt;&gt; CID 656687: (CHECKED_RETURN)
    &gt;&gt;&gt; Calling &quot;remove(path)&quot; without checking return value. This library function may fail and return an error code.
    456 remove(path);
    457 free(sav_ptr);
    458 return sent;
    459 }
    460
    461 /****************************************************************************/
    /qwk.cpp: 417 in sbbs_t::qwk_download()()
    411 return false;
    412 }
    413 for (int i = 0; i &lt; cfg.total_subs; i++)
    414 sav_ptr[i] = subscan[i].ptr;
    415 snprintf(path, sizeof path, &quot;%s%s.qwk&quot;, cfg.temp_dir, cfg.sys_id);
    416 snprintf(fname, sizeof fname, &quot;%s.qwk&quot;, cfg.sys_id); &gt;&gt;&gt; CID 656687: (CHECKED_RETURN)
    &gt;&gt;&gt; Calling &quot;remove(path)&quot; without checking return value. This library function may fail and return an error code.
    417 remove(path);
    418 if (pack_qwk(path, &amp;msgcnt, /* prepack: */ false)) {
    419 off_t l = flength(path);
    420 bprintf(text[FiFilename], getfname(path));
    421 bprintf(text[FiFileSize], u64toac(l, tmp)
    422 , byte_estimate_to_str(l, tmp2, sizeof(tmp2), /* units: */ 1024, /* precision: */ 1));

    ** CID 656686: Error handling issues (CHECKED_RETURN)
    /websrvr.cpp: 2584 in js_add_queryval(http_session_t *, const char *, const char *)()


    _____________________________________________________________________________________________
    *** CID 656686: Error handling issues (CHECKED_RETURN)
    /websrvr.cpp: 2584 in js_add_queryval(http_session_t *, const char *, const char *)()
    2578 errprintf(LOG_ERR, WHERE, &quot;%04d %-5s [%s] failed to create JSString for query value &#39;%s&#39;, key=%s&quot;
    2579 , session-&gt;socket, session-&gt;client.protocol, session-&gt;host_ip, value, key);
    2580 else {
    2581 lprintf(LOG_DEBUG, &quot;%04d %-5s [%s] Adding query value %s=%s at pos %d&quot;
    2582 , session-&gt;socket, session-&gt;client.protocol, session-&gt;host_ip, key, value, alen);
    2583 val = STRING_TO_JSVAL(js_str);
    &gt;&gt;&gt; CID 656686: Error handling issues (CHECKED_RETURN) &gt;&gt;&gt; Calling &quot;JS_SetElement&quot; without checking return value (as is done elsewhere 32 out of 40 times).
    2584 JS_SetElement(session-&gt;js_cx, keyarray, alen, &amp;val);
    2585 }
    2586 }
    2587
    2588 static void js_add_cookieval(http_session_t * session, const char *key, const char *value)
    2589 {

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6abe319fc4e9d_3b64712c3f1480d994457d6--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Mon Oct 26 12:49:36 2026
    ----==_mimepart_6adf4c5fd5c7a_121aef2b1c6f8d19ac1572d
    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.

    5 new defect(s) introduced to Synchronet found with Coverity Scan.
    3 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 5 of 5 defect(s)


    ** CID 661079: Error handling issues (CHECKED_RETURN)
    /pack_rep.cpp: 114 in sbbs_t::pack_rep(unsigned int, unsigned int *)()


    _____________________________________________________________________________________________
    *** CID 661079: Error handling issues (CHECKED_RETURN)
    /pack_rep.cpp: 114 in sbbs_t::pack_rep(unsigned int, unsigned int *)()
    108 fexistcase(str);
    109 if ((hdrs = fopen(str, "a")) == NULL)
    110 errormsg(WHERE, ERR_CREATE, str, 0);
    111 }
    112 if (!(cfg.qhub[hubnum]->misc & QHUB_NOVOTING)) {
    113 SAFEPRINTF(str, "%sVOTING.DAT", cfg.temp_dir);
    CID 661079: Error handling issues (CHECKED_RETURN)
    Calling "fexistcase" without checking return value (as is done elsewhere 126 out of 136 times).
    114 fexistcase(str);
    115 if ((voting = fopen(str, "a")) == NULL)
    116 errormsg(WHERE, ERR_CREATE, str, 0);
    117 }
    118 /*********************/
    119 /* Pack new messages */

    ** CID 661078: (Y2K38_SAFETY)
    /pack_qwk.cpp: 628 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    /pack_qwk.cpp: 146 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    /pack_qwk.cpp: 623 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()


    _____________________________________________________________________________________________
    *** CID 661078: (Y2K38_SAFETY)
    /pack_qwk.cpp: 628 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    622 , tmp
    623 , (uint)elapsed
    624 , (uint64_t)((*msgcnt) + mailmsgs) / elapsed);
    625 lprintf(LOG_INFO, "packed %u messages (%s bytes) in %u seconds (%u msgs/sec)"
    626 , (*msgcnt) + mailmsgs
    627 , tmp
    CID 661078: (Y2K38_SAFETY)
    A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "elapsed" is cast to "uint".
    628 , (uint)elapsed
    629 , (uint)(((*msgcnt) + mailmsgs) / elapsed)); 630 }
    631
    632 BOOL voting_data = FALSE;
    633 if (!fclose_checked(qwk)) {
    /pack_qwk.cpp: 146 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    140 return false;
    141 }
    142
    143 now = time(NULL);
    144 if (localtime_r(&now, &tm) == NULL) {
    145 fclose(stream);
    CID 661078: (Y2K38_SAFETY)
    A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "this->now" is cast to "uint".
    146 errormsg(WHERE, ERR_CHK, "time", (uint)now); 147 return false;
    148 }
    149
    150 fprintf(stream, "%s\r\n%s\r\n%s\r\n%s, Sysop\r\n0000,%s\r\n"
    151 "%02u-%02u-%u,%02u:%02u:%02u\r\n" /pack_qwk.cpp: 623 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    617 byte_estimate_to_str(ftell(qwk), tmp, sizeof(tmp), 1024, 1);
    618 if (online == ON_REMOTE)
    619 bprintf("\r\n\r\n\1n\1hPacked %u messages (%s bytes) in %u seconds "
    620 "(%" PRIu64 " messages/second)."
    621 , (*msgcnt) + mailmsgs
    622 , tmp
    CID 661078: (Y2K38_SAFETY)
    A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "elapsed" is cast to "uint".
    623 , (uint)elapsed
    624 , (uint64_t)((*msgcnt) + mailmsgs) / elapsed);
    625 lprintf(LOG_INFO, "packed %u messages (%s bytes) in %u seconds (%u msgs/sec)"
    626 , (*msgcnt) + mailmsgs
    627 , tmp
    628 , (uint)elapsed

    ** CID 661077: Security best practices violations (TOCTOU)
    /nopen.c: 217 in fmutex_close()


    _____________________________________________________________________________________________
    *** CID 661077: Security best practices violations (TOCTOU)
    /nopen.c: 217 in fmutex_close()
    211 #if !defined _WIN32 // should only be necessary (and possible) on *nix 212 // Remove before close, and only the file we opened: once our lock aged out and
    213 // was taken over, the file by this name is the new holder's 214 if (fstat(fm->fd, &fd_st) != 0) {
    215 error = errno;
    216 result = false;
    CID 661077: Security best practices violations (TOCTOU)
    Calling function "stat" to perform check on "fm->name".
    217 } else if (stat(fm->name, &name_st) != 0) {
    218 if (errno != ENOENT) {
    219 error = errno;
    220 result = false;
    221 }
    222 } else if (fd_st.st_dev == name_st.st_dev && fd_st.st_ino == name_st.st_ino) {

    ** CID 661076: (CHECKED_RETURN)
    /qwkjob.cpp: 412 in qwkjob_pack_locked(sbbs_t *, const qwkjob_host *, unsigned int, unsigned int *, char *, unsigned long)()
    /qwkjob.cpp: 397 in qwkjob_pack_locked(sbbs_t *, const qwkjob_host *, unsigned int, unsigned int *, char *, unsigned long)()


    _____________________________________________________________________________________________
    *** CID 661076: (CHECKED_RETURN)
    /qwkjob.cpp: 412 in qwkjob_pack_locked(sbbs_t *, const qwkjob_host *, unsigned int, unsigned int *, char *, unsigned long)()
    406 if (!qwkjob_replace_file(tmppath, qwkpath)) {
    407 #ifdef _WIN32
    408 sbbs->lprintf(LOG_ERR, "!ERROR (WinError %u) renaming %s to %s", (uint)GetLastError(), tmppath, qwkpath);
    409 #else
    410 sbbs->lprintf(LOG_ERR, "!ERROR %d (%s) renaming %s to %s", errno, strerror(errno), tmppath, qwkpath);
    411 #endif
    CID 661076: (CHECKED_RETURN)
    Calling "remove(tmppath)" without checking return value. This library function may fail and return an error code.
    412 remove(tmppath);
    413 return QWKJOB_FAILED;
    414 }
    415 sbbs->lprintf(LOG_INFO, "Packing completed: %s", qwkpath);
    416 sbbs->qwk_success(count, 0, /* prepack: */ 1);
    417 sbbs->putmsgptrs();
    /qwkjob.cpp: 397 in qwkjob_pack_locked(sbbs_t *, const qwkjob_host *, unsigned int, unsigned int *, char *, unsigned long)()
    391 if (qwkjob_terminated(host))
    392 return QWKJOB_FAILED;
    393 sbbs->lprintf(LOG_INFO, "Packing QWK Message Packet");
    394 SAFEPRINTF4(tmppath, "%sfile/%04u.%s.%d.qwk.tmp", sbbs->cfg.data_dir, usernum, qwkjob_local_host_name(), (int)getpid());
    395 SAFEPRINTF2(qwkpath, "%sfile/%04u.qwk", sbbs->cfg.data_dir, usernum);
    396 if (!sbbs->pack_qwk(tmppath, &count, /* prepack: */ true, &reason)) {
    CID 661076: (CHECKED_RETURN)
    Calling "remove(tmppath)" without checking return value. This library function may fail and return an error code.
    397 remove(tmppath);
    398 if (reason == QWKJOB_EMPTY)
    399 sbbs->lputs(LOG_INFO, "No packet created (no new messages)");
    400 return reason;
    401 }
    402 if (qwkjob_terminated(host)) {

    ** CID 661075: Incorrect expression (EVALUATION_ORDER)
    /pack_qwk.cpp: 798 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()


    _____________________________________________________________________________________________
    *** CID 661075: Incorrect expression (EVALUATION_ORDER)
    /pack_qwk.cpp: 798 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    792 lprintf(LOG_ERR, "libarchive error (%s) creating %s", error, packet);
    793 else
    794 lprintf(LOG_INFO, "libarchive created %s from %d files", packet, file_count);
    795 }
    796 if (flength(packet) < 1) {
    797 remove(packet);
    CID 661075: Incorrect expression (EVALUATION_ORDER)
    In argument #1 of "this->cmdstr(this->temp_cmd(ex), packet, path, NULL, ex)", a call is made to "this->temp_cmd(ex)". In argument #1 of this function, the object "ex" is modified. This object is also used in "ex", the argument #5 of the outer function call. The order in which these arguments are evaluated is not specified, and will vary between platforms.
    798 cmdstr(temp_cmd(ex), packet, path, NULL, ex);
    799 if ((i = external(cmdstr_output, ex | EX_WILDCARD)) != 0)
    800 errormsg(WHERE, ERR_EXEC, cmdstr_output, i); 801 if (flength(packet) < 1) {
    802 bputs(text[QWKCompressionFailed]);
    803 return false;


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6adf4c5fd5c7a_121aef2b1c6f8d19ac1572d
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 5</li>
    <li>
    3 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 5 of 5 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 661079: Error handling issues (CHECKED_RETURN)
    /pack_rep.cpp: 114 in sbbs_t::pack_rep(unsigned int, unsigned int *)()


    _____________________________________________________________________________________________
    *** CID 661079: Error handling issues (CHECKED_RETURN)
    /pack_rep.cpp: 114 in sbbs_t::pack_rep(unsigned int, unsigned int *)()
    108 fexistcase(str);
    109 if ((hdrs = fopen(str, &quot;a&quot;)) == NULL)
    110 errormsg(WHERE, ERR_CREATE, str, 0);
    111 }
    112 if (!(cfg.qhub[hubnum]-&gt;misc &amp; QHUB_NOVOTING)) {
    113 SAFEPRINTF(str, &quot;%sVOTING.DAT&quot;, cfg.temp_dir);
    &gt;&gt;&gt; CID 661079: Error handling issues (CHECKED_RETURN) &gt;&gt;&gt; Calling &quot;fexistcase&quot; without checking return value (as is done elsewhere 126 out of 136 times).
    114 fexistcase(str);
    115 if ((voting = fopen(str, &quot;a&quot;)) == NULL)
    116 errormsg(WHERE, ERR_CREATE, str, 0);
    117 }
    118 /*********************/
    119 /* Pack new messages */

    ** CID 661078: (Y2K38_SAFETY)
    /pack_qwk.cpp: 628 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    /pack_qwk.cpp: 146 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    /pack_qwk.cpp: 623 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()


    _____________________________________________________________________________________________
    *** CID 661078: (Y2K38_SAFETY)
    /pack_qwk.cpp: 628 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    622 , tmp
    623 , (uint)elapsed
    624 , (uint64_t)((*msgcnt) + mailmsgs) / elapsed);
    625 lprintf(LOG_INFO, &quot;packed %u messages (%s bytes) in %u seconds (%u msgs/sec)&quot;
    626 , (*msgcnt) + mailmsgs
    627 , tmp
    &gt;&gt;&gt; CID 661078: (Y2K38_SAFETY)
    &gt;&gt;&gt; A &quot;time_t&quot; value is stored in an integer with too few bits to accommodate it. The expression &quot;elapsed&quot; is cast to &quot;uint&quot;.
    628 , (uint)elapsed
    629 , (uint)(((*msgcnt) + mailmsgs) / elapsed)); 630 }
    631
    632 BOOL voting_data = FALSE;
    633 if (!fclose_checked(qwk)) {
    /pack_qwk.cpp: 146 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    140 return false;
    141 }
    142
    143 now = time(NULL);
    144 if (localtime_r(&amp;now, &amp;tm) == NULL) {
    145 fclose(stream);
    &gt;&gt;&gt; CID 661078: (Y2K38_SAFETY)
    &gt;&gt;&gt; A &quot;time_t&quot; value is stored in an integer with too few bits to accommodate it. The expression &quot;this-&gt;now&quot; is cast to &quot;uint&quot;.
    146 errormsg(WHERE, ERR_CHK, &quot;time&quot;, (uint)now);
    147 return false;
    148 }
    149
    150 fprintf(stream, &quot;%s\r\n%s\r\n%s\r\n%s, Sysop\r\n0000,%s\r\n&quot;
    151 &quot;%02u-%02u-%u,%02u:%02u:%02u\r\n&quot; /pack_qwk.cpp: 623 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    617 byte_estimate_to_str(ftell(qwk), tmp, sizeof(tmp), 1024, 1);
    618 if (online == ON_REMOTE)
    619 bprintf(&quot;\r\n\r\n\1n\1hPacked %u messages (%s bytes) in %u seconds &quot;
    620 &quot;(%&quot; PRIu64 &quot; messages/second).&quot;
    621 , (*msgcnt) + mailmsgs
    622 , tmp
    &gt;&gt;&gt; CID 661078: (Y2K38_SAFETY)
    &gt;&gt;&gt; A &quot;time_t&quot; value is stored in an integer with too few bits to accommodate it. The expression &quot;elapsed&quot; is cast to &quot;uint&quot;.
    623 , (uint)elapsed
    624 , (uint64_t)((*msgcnt) + mailmsgs) / elapsed);
    625 lprintf(LOG_INFO, &quot;packed %u messages (%s bytes) in %u seconds (%u msgs/sec)&quot;
    626 , (*msgcnt) + mailmsgs
    627 , tmp
    628 , (uint)elapsed

    ** CID 661077: Security best practices violations (TOCTOU)
    /nopen.c: 217 in fmutex_close()


    _____________________________________________________________________________________________
    *** CID 661077: Security best practices violations (TOCTOU)
    /nopen.c: 217 in fmutex_close()
    211 #if !defined _WIN32 // should only be necessary (and possible) on *nix 212 // Remove before close, and only the file we opened: once our lock aged out and
    213 // was taken over, the file by this name is the new holder&#39;s
    214 if (fstat(fm-&gt;fd, &amp;fd_st) != 0) {
    215 error = errno;
    216 result = false;
    &gt;&gt;&gt; CID 661077: Security best practices violations (TOCTOU)
    &gt;&gt;&gt; Calling function &quot;stat&quot; to perform check on &quot;fm-&gt;name&quot;.
    217 } else if (stat(fm-&gt;name, &amp;name_st) != 0) {
    218 if (errno != ENOENT) {
    219 error = errno;
    220 result = false;
    221 }
    222 } else if (fd_st.st_dev == name_st.st_dev &amp;&amp; fd_st.st_ino == name_st.st_ino) {

    ** CID 661076: (CHECKED_RETURN)
    /qwkjob.cpp: 412 in qwkjob_pack_locked(sbbs_t *, const qwkjob_host *, unsigned int, unsigned int *, char *, unsigned long)()
    /qwkjob.cpp: 397 in qwkjob_pack_locked(sbbs_t *, const qwkjob_host *, unsigned int, unsigned int *, char *, unsigned long)()


    _____________________________________________________________________________________________
    *** CID 661076: (CHECKED_RETURN)
    /qwkjob.cpp: 412 in qwkjob_pack_locked(sbbs_t *, const qwkjob_host *, unsigned int, unsigned int *, char *, unsigned long)()
    406 if (!qwkjob_replace_file(tmppath, qwkpath)) {
    407 #ifdef _WIN32
    408 sbbs-&gt;lprintf(LOG_ERR, &quot;!ERROR (WinError %u) renaming %s to %s&quot;, (uint)GetLastError(), tmppath, qwkpath);
    409 #else
    410 sbbs-&gt;lprintf(LOG_ERR, &quot;!ERROR %d (%s) renaming %s to %s&quot;, errno, strerror(errno), tmppath, qwkpath);
    411 #endif
    &gt;&gt;&gt; CID 661076: (CHECKED_RETURN)
    &gt;&gt;&gt; Calling &quot;remove(tmppath)&quot; without checking return value. This library function may fail and return an error code.
    412 remove(tmppath);
    413 return QWKJOB_FAILED;
    414 }
    415 sbbs-&gt;lprintf(LOG_INFO, &quot;Packing completed: %s&quot;, qwkpath);
    416 sbbs-&gt;qwk_success(count, 0, /* prepack: */ 1);
    417 sbbs-&gt;putmsgptrs();
    /qwkjob.cpp: 397 in qwkjob_pack_locked(sbbs_t *, const qwkjob_host *, unsigned int, unsigned int *, char *, unsigned long)()
    391 if (qwkjob_terminated(host))
    392 return QWKJOB_FAILED;
    393 sbbs-&gt;lprintf(LOG_INFO, &quot;Packing QWK Message Packet&quot;);
    394 SAFEPRINTF4(tmppath, &quot;%sfile/%04u.%s.%d.qwk.tmp&quot;, sbbs-&gt;cfg.data_dir, usernum, qwkjob_local_host_name(), (int)getpid());
    395 SAFEPRINTF2(qwkpath, &quot;%sfile/%04u.qwk&quot;, sbbs-&gt;cfg.data_dir, usernum);
    396 if (!sbbs-&gt;pack_qwk(tmppath, &amp;count, /* prepack: */ true, &amp;reason)) {
    &gt;&gt;&gt; CID 661076: (CHECKED_RETURN)
    &gt;&gt;&gt; Calling &quot;remove(tmppath)&quot; without checking return value. This library function may fail and return an error code.
    397 remove(tmppath);
    398 if (reason == QWKJOB_EMPTY)
    399 sbbs-&gt;lputs(LOG_INFO, &quot;No packet created (no new messages)&quot;);
    400 return reason;
    401 }
    402 if (qwkjob_terminated(host)) {

    ** CID 661075: Incorrect expression (EVALUATION_ORDER)
    /pack_qwk.cpp: 798 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()


    _____________________________________________________________________________________________
    *** CID 661075: Incorrect expression (EVALUATION_ORDER)
    /pack_qwk.cpp: 798 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    792 lprintf(LOG_ERR, &quot;libarchive error (%s) creating %s&quot;, error, packet);
    793 else
    794 lprintf(LOG_INFO, &quot;libarchive created %s from %d files&quot;, packet, file_count);
    795 }
    796 if (flength(packet) &lt; 1) {
    797 remove(packet);
    &gt;&gt;&gt; CID 661075: Incorrect expression (EVALUATION_ORDER) &gt;&gt;&gt; In argument #1 of &quot;this-&gt;cmdstr(this-&gt;temp_cmd(ex), packet, path, NULL, ex)&quot;, a call is made to &quot;this-&gt;temp_cmd(ex)&quot;. In argument #1 of this function, the object &quot;ex&quot; is modified. This object is also used in &quot;ex&quot;, the argument #5 of the outer function call. The order in which these arguments are evaluated is not specified, and will vary between platforms.
    798 cmdstr(temp_cmd(ex), packet, path, NULL, ex);
    799 if ((i = external(cmdstr_output, ex | EX_WILDCARD)) != 0)
    800 errormsg(WHERE, ERR_EXEC, cmdstr_output, i); 801 if (flength(packet) &lt; 1) {
    802 bputs(text[QWKCompressionFailed]);
    803 return false;

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6adf4c5fd5c7a_121aef2b1c6f8d19ac1572d--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to cov-scan@synchro.net on Tue Oct 27 12:48:12 2026
    ----==_mimepart_6ae09d8b8e3c9_131d0a2b1c6f8d19ac1571a
    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.
    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 2 of 2 defect(s)


    ** CID 661198: Error handling issues (CHECKED_RETURN)
    /pack_qwk.cpp: 660 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()


    _____________________________________________________________________________________________
    *** CID 661198: Error handling issues (CHECKED_RETURN)
    /pack_qwk.cpp: 660 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    654 SAFEPRINTF(str, "%sPERSONAL.NDX", cfg.temp_dir);
    655 if (!fclose_checked(personal)) {
    656 errormsg(WHERE, ERR_WRITE, str, 0);
    657 write_error = true;
    658 }
    659 if (!flength(str))
    CID 661198: Error handling issues (CHECKED_RETURN)
    Calling "remove(str)" without checking return value. This library function may fail and return an error code.
    660 remove(str);
    661 }
    662 term->newline();
    663
    664 // #1244
    665 SAFEPRINTF(str, "%sMESSAGES.DAT", cfg.temp_dir);

    ** CID 661197: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 1982 in finduserstr()


    _____________________________________________________________________________________________
    *** CID 661197: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 1982 in finduserstr()
    1976 overlapping a record another process holds locked fails; any record
    1977 not read in bulk is then read singly, taking the lock. */
    1978 size_t want = (size_t)count * USER_RECORD_LINE_LEN; 1979 size_t got = 0;
    1980 if (seekuserdat(file, unum)) {
    1981 while (got < want) {
    CID 661197: Insecure data handling (INTEGER_OVERFLOW)
    "want - got", which might have underflowed, is passed to "read(file, buf + got, want - got)".
    1982 ssize_t rd = read(file, buf + got, want - got);
    1983 if (rd <= 0)
    1984 break;
    1985 got += (size_t)rd;
    1986 }
    1987 }


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6ae09d8b8e3c9_131d0a2b1c6f8d19ac1571a
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 2</li>
    <li>
    4 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 2 of 2 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 661198: Error handling issues (CHECKED_RETURN)
    /pack_qwk.cpp: 660 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()


    _____________________________________________________________________________________________
    *** CID 661198: Error handling issues (CHECKED_RETURN)
    /pack_qwk.cpp: 660 in sbbs_t::pack_qwk(char *, unsigned int *, bool, qwkjob_result *)()
    654 SAFEPRINTF(str, &quot;%sPERSONAL.NDX&quot;, cfg.temp_dir);
    655 if (!fclose_checked(personal)) {
    656 errormsg(WHERE, ERR_WRITE, str, 0);
    657 write_error = true;
    658 }
    659 if (!flength(str))
    &gt;&gt;&gt; CID 661198: Error handling issues (CHECKED_RETURN) &gt;&gt;&gt; Calling &quot;remove(str)&quot; without checking return value. This library function may fail and return an error code.
    660 remove(str);
    661 }
    662 term-&gt;newline();
    663
    664 // #1244
    665 SAFEPRINTF(str, &quot;%sMESSAGES.DAT&quot;, cfg.temp_dir);

    ** CID 661197: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 1982 in finduserstr()


    _____________________________________________________________________________________________
    *** CID 661197: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 1982 in finduserstr()
    1976 overlapping a record another process holds locked fails; any record
    1977 not read in bulk is then read singly, taking the lock. */
    1978 size_t want = (size_t)count * USER_RECORD_LINE_LEN; 1979 size_t got = 0;
    1980 if (seekuserdat(file, unum)) {
    1981 while (got &lt; want) {
    &gt;&gt;&gt; CID 661197: Insecure data handling (INTEGER_OVERFLOW) &gt;&gt;&gt; &quot;want - got&quot;, which might have underflowed, is passed to &quot;read(file, buf + got, want - got)&quot;.
    1982 ssize_t rd = read(file, buf + got, want - got);
    1983 if (rd &lt;= 0)
    1984 break;
    1985 got += (size_t)rd;
    1986 }
    1987 }

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6ae09d8b8e3c9_131d0a2b1c6f8d19ac1571a--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to cov-scan@synchro.net on Thu Oct 29 13:36:26 2026
    ----==_mimepart_6ae34bd9ef287_10902cef522df99c9066b
    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.

    4 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 4 of 4 defect(s)


    ** CID 661304: Concurrent data access violations (MISSING_LOCK) /js_socket.cpp: 374 in do_js_close(JSContext *, js_socket_private_t *, bool)()


    _____________________________________________________________________________________________
    *** CID 661304: Concurrent data access violations (MISSING_LOCK) /js_socket.cpp: 374 in do_js_close(JSContext *, js_socket_private_t *, bool)()
    368
    369 static void do_js_close(JSContext *cx, js_socket_private_t *p, bool finalize)
    370 {
    371 size_t i;
    372
    373 if (p->tls_pending) {
    CID 661304: Concurrent data access violations (MISSING_LOCK) >>> Accessing "p->tls_pending->sock" without holding lock "js_socket_tls_pending.mutex". Elsewhere, "js_socket_tls_pending.sock" is written to with "js_socket_tls_pending.mutex" held 1 out of 1 times.
    374 SOCKET sock = p->tls_pending->sock;
    375 // Cancellation precedes closing the notification endpoint.
    376 js_socket_cancel_tls_private(p);
    377 if (p->js_cb)
    378 remove_js_socket_event(cx, p->js_cb, sock);
    379 }

    ** CID 661303: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 1992 in finduserstr_ex()


    _____________________________________________________________________________________________
    *** CID 661303: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 1992 in finduserstr_ex()
    1986 overlapping a record another process holds locked fails; any record
    1987 not read in bulk is then read singly, taking the lock. */
    1988 size_t want = (size_t)count * USER_RECORD_LINE_LEN; 1989 size_t got = 0;
    1990 if (seekuserdat(file, unum)) {
    1991 while (got < want) {
    CID 661303: Insecure data handling (INTEGER_OVERFLOW)
    "want - got", which might have underflowed, is passed to "read(file, buf + got, want - got)".
    1992 ssize_t rd = read(file, buf + got, want - got);
    1993 if (rd <= 0)
    1994 break;
    1995 got += (size_t)rd;
    1996 }
    1997 }

    ** CID 661302: Error handling issues (CHECKED_RETURN)
    /js_socket.cpp: 2648 in js_socket_tls_thread(void *)()


    _____________________________________________________________________________________________
    *** CID 661302: Error handling issues (CHECKED_RETURN)
    /js_socket.cpp: 2648 in js_socket_tls_thread(void *)()
    2642 if (status == CRYPT_OK && !cancelled)
    2643 status = js_socket_activate_tls(pending->session, true, &pending->cert);
    2644 pthread_mutex_lock(&pending->mutex);
    2645 pending->status = status;
    2646 /* The event endpoint remains open until cancellation has set this flag. */
    2647 if (!pending->cancelled)
    CID 661302: Error handling issues (CHECKED_RETURN)
    Calling "send(pending->notify, "x", 1UL, 0)" without checking return value. This library function may fail and return an error code.
    2648 send(pending->notify, "x", 1, 0);
    2649 pthread_mutex_unlock(&pending->mutex);
    2650 js_socket_complete_tls_worker(pending);
    2651 }
    2652
    2653 JSBool js_socket_finish_tls(JSContext *cx, JSObject *obj)

    ** CID 661301: Concurrent data access violations (MISSING_LOCK) /js_socket.cpp: 2636 in js_socket_tls_thread(void *)()


    _____________________________________________________________________________________________
    *** CID 661301: Concurrent data access violations (MISSING_LOCK) /js_socket.cpp: 2636 in js_socket_tls_thread(void *)()
    2630 static void js_socket_tls_thread(void *arg)
    2631 {
    2632 js_socket_tls_pending *pending = static_cast<js_socket_tls_pending *>(arg);
    2633 SetThreadName("sbbs/jsTLS");
    2634 int status = CRYPT_ERROR_NOTINITED;
    2635 if (ssl_sync(pending->cfg, pending->logger)) {
    CID 661301: Concurrent data access violations (MISSING_LOCK) >>> Accessing "pending->session" without holding lock "js_socket_tls_pending.mutex". Elsewhere, "js_socket_tls_pending.session" is written to with "js_socket_tls_pending.mutex" held 1 out of 1 times.
    2636 status = add_private_key(pending->cfg, pending->logger, pending->session);
    2637 pending->key_added = status == CRYPT_OK;
    2638 }
    2639 pthread_mutex_lock(&pending->mutex);
    2640 bool cancelled = pending->cancelled;
    2641 pthread_mutex_unlock(&pending->mutex);


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6ae34bd9ef287_10902cef522df99c9066b
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 4</li>
    <li>
    2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 4 of 4 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 661304: Concurrent data access violations (MISSING_LOCK) /js_socket.cpp: 374 in do_js_close(JSContext *, js_socket_private_t *, bool)()


    _____________________________________________________________________________________________
    *** CID 661304: Concurrent data access violations (MISSING_LOCK) /js_socket.cpp: 374 in do_js_close(JSContext *, js_socket_private_t *, bool)()
    368
    369 static void do_js_close(JSContext *cx, js_socket_private_t *p, bool finalize)
    370 {
    371 size_t i;
    372
    373 if (p-&gt;tls_pending) {
    &gt;&gt;&gt; CID 661304: Concurrent data access violations (MISSING_LOCK)
    &gt;&gt;&gt; Accessing &quot;p-&gt;tls_pending-&gt;sock&quot; without holding lock &quot;js_socket_tls_pending.mutex&quot;. Elsewhere, &quot;js_socket_tls_pending.sock&quot; is written to with &quot;js_socket_tls_pending.mutex&quot; held 1 out of 1 times.
    374 SOCKET sock = p-&gt;tls_pending-&gt;sock;
    375 // Cancellation precedes closing the notification endpoint.
    376 js_socket_cancel_tls_private(p);
    377 if (p-&gt;js_cb)
    378 remove_js_socket_event(cx, p-&gt;js_cb, sock); 379 }

    ** CID 661303: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 1992 in finduserstr_ex()


    _____________________________________________________________________________________________
    *** CID 661303: Insecure data handling (INTEGER_OVERFLOW)
    /userdat.c: 1992 in finduserstr_ex()
    1986 overlapping a record another process holds locked fails; any record
    1987 not read in bulk is then read singly, taking the lock. */
    1988 size_t want = (size_t)count * USER_RECORD_LINE_LEN; 1989 size_t got = 0;
    1990 if (seekuserdat(file, unum)) {
    1991 while (got &lt; want) {
    &gt;&gt;&gt; CID 661303: Insecure data handling (INTEGER_OVERFLOW) &gt;&gt;&gt; &quot;want - got&quot;, which might have underflowed, is passed to &quot;read(file, buf + got, want - got)&quot;.
    1992 ssize_t rd = read(file, buf + got, want - got);
    1993 if (rd &lt;= 0)
    1994 break;
    1995 got += (size_t)rd;
    1996 }
    1997 }

    ** CID 661302: Error handling issues (CHECKED_RETURN)
    /js_socket.cpp: 2648 in js_socket_tls_thread(void *)()


    _____________________________________________________________________________________________
    *** CID 661302: Error handling issues (CHECKED_RETURN)
    /js_socket.cpp: 2648 in js_socket_tls_thread(void *)()
    2642 if (status == CRYPT_OK &amp;&amp; !cancelled)
    2643 status = js_socket_activate_tls(pending-&gt;session, true, &amp;pending-&gt;cert);
    2644 pthread_mutex_lock(&amp;pending-&gt;mutex);
    2645 pending-&gt;status = status;
    2646 /* The event endpoint remains open until cancellation has set this flag. */
    2647 if (!pending-&gt;cancelled)
    &gt;&gt;&gt; CID 661302: Error handling issues (CHECKED_RETURN) &gt;&gt;&gt; Calling &quot;send(pending-&gt;notify, &quot;x&quot;, 1UL, 0)&quot; without checking return value. This library function may fail and return an error code.
    2648 send(pending-&gt;notify, &quot;x&quot;, 1, 0);
    2649 pthread_mutex_unlock(&amp;pending-&gt;mutex);
    2650 js_socket_complete_tls_worker(pending);
    2651 }
    2652
    2653 JSBool js_socket_finish_tls(JSContext *cx, JSObject *obj)

    ** CID 661301: Concurrent data access violations (MISSING_LOCK) /js_socket.cpp: 2636 in js_socket_tls_thread(void *)()


    _____________________________________________________________________________________________
    *** CID 661301: Concurrent data access violations (MISSING_LOCK) /js_socket.cpp: 2636 in js_socket_tls_thread(void *)()
    2630 static void js_socket_tls_thread(void *arg)
    2631 {
    2632 js_socket_tls_pending *pending = static_cast&lt;js_socket_tls_pending *&gt;(arg);
    2633 SetThreadName(&quot;sbbs/jsTLS&quot;);
    2634 int status = CRYPT_ERROR_NOTINITED;
    2635 if (ssl_sync(pending-&gt;cfg, pending-&gt;logger)) { &gt;&gt;&gt; CID 661301: Concurrent data access violations (MISSING_LOCK)
    &gt;&gt;&gt; Accessing &quot;pending-&gt;session&quot; without holding lock &quot;js_socket_tls_pending.mutex&quot;. Elsewhere, &quot;js_socket_tls_pending.session&quot; is written to with &quot;js_socket_tls_pending.mutex&quot; held 1 out of 1 times.
    2636 status = add_private_key(pending-&gt;cfg, pending-&gt;logger, pending-&gt;session);
    2637 pending-&gt;key_added = status == CRYPT_OK;
    2638 }
    2639 pthread_mutex_lock(&amp;pending-&gt;mutex);
    2640 bool cancelled = pending-&gt;cancelled;
    2641 pthread_mutex_unlock(&amp;pending-&gt;mutex);

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6ae34bd9ef287_10902cef522df99c9066b--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Sun Nov 1 13:49:54 2026
    ----==_mimepart_6ae743822b53b_5c7a2ccda420599c7397c
    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.
    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 2 of 2 defect(s)


    ** CID 661497: (RESOURCE_LEAK)
    /xtrn.cpp: 1996 in sbbs_t::external(const char *, int, const char *, const char *, const char *)()
    /xtrn.cpp: 1996 in sbbs_t::external(const char *, int, const char *, const char *, const char *)()


    _____________________________________________________________________________________________
    *** CID 661497: (RESOURCE_LEAK)
    /xtrn.cpp: 1996 in sbbs_t::external(const char *, int, const char *, const char *, const char *)()
    1990 dup2(fd, STDOUT_FILENO);
    1991 if (!(mode & EX_NOLOG))
    1992 dup2(fd, STDERR_FILENO);
    1993 if (fd > 2)
    1994 close(fd);
    1995 }
    CID 661497: (RESOURCE_LEAK)
    Handle variable "fd" going out of scope leaks the handle.
    1996 }
    1997
    1998 if (mode & EX_BG) /* background execution, detach child */
    1999 {
    2000 if (daemon(TRUE, FALSE) != 0)
    2001 lprintf(LOG_ERR, "!ERROR %d (%s) daemonizing: %s", errno, strerror(errno), argv[0]);
    /xtrn.cpp: 1996 in sbbs_t::external(const char *, int, const char *, const char *, const char *)()
    1990 dup2(fd, STDOUT_FILENO);
    1991 if (!(mode & EX_NOLOG))
    1992 dup2(fd, STDERR_FILENO);
    1993 if (fd > 2)
    1994 close(fd);
    1995 }
    CID 661497: (RESOURCE_LEAK)
    Handle variable "fd" going out of scope leaks the handle.
    1996 }
    1997
    1998 if (mode & EX_BG) /* background execution, detach child */
    1999 {
    2000 if (daemon(TRUE, FALSE) != 0)
    2001 lprintf(LOG_ERR, "!ERROR %d (%s) daemonizing: %s", errno, strerror(errno), argv[0]);

    ** CID 661496: (CHECKED_RETURN)
    /xtrn_sec.cpp: 1369 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int, const xtrn_t *)()
    /xtrn_sec.cpp: 1359 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int, const xtrn_t *)()


    _____________________________________________________________________________________________
    *** CID 661496: (CHECKED_RETURN)
    /xtrn_sec.cpp: 1369 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int, const xtrn_t *)()
    1363 int chmod_result = CHMOD(str, _S_IREAD);
    1364 #else
    1365 int chmod_result = CHMOD(str, S_IRUSR);
    1366 #endif
    1367 if (chmod_result != 0) {
    1368 errormsg(WHERE, ERR_WRITE, str, errno);
    CID 661496: (CHECKED_RETURN)
    Calling "remove(str)" without checking return value. This library function may fail and return an error code.
    1369 remove(str);
    1370 return false;
    1371 }
    1372 }
    1373
    1374 else if (type == XTRN_DOORDROP) { /* DOORDROP.INI 1.0 */ /xtrn_sec.cpp: 1359 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int, const xtrn_t *)()
    1353 }
    1354 bool write_ok = bbsdev_write(fp, lines, sizeof(lines) / sizeof(lines[0]));
    1355 if (fclose(fp) != 0)
    1356 write_ok = false;
    1357 if (!write_ok) {
    1358 errormsg(WHERE, ERR_WRITE, str, 0);
    CID 661496: (CHECKED_RETURN)
    Calling "remove(str)" without checking return value. This library function may fail and return an error code.
    1359 remove(str);
    1360 return false;
    1361 }
    1362 #if defined(_WIN32)
    1363 int chmod_result = CHMOD(str, _S_IREAD);
    1364 #else


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6ae743822b53b_5c7a2ccda420599c7397c
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 2</li>
    <li>
    2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 2 of 2 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 661497: (RESOURCE_LEAK)
    /xtrn.cpp: 1996 in sbbs_t::external(const char *, int, const char *, const char *, const char *)()
    /xtrn.cpp: 1996 in sbbs_t::external(const char *, int, const char *, const char *, const char *)()


    _____________________________________________________________________________________________
    *** CID 661497: (RESOURCE_LEAK)
    /xtrn.cpp: 1996 in sbbs_t::external(const char *, int, const char *, const char *, const char *)()
    1990 dup2(fd, STDOUT_FILENO);
    1991 if (!(mode &amp; EX_NOLOG))
    1992 dup2(fd, STDERR_FILENO);
    1993 if (fd &gt; 2)
    1994 close(fd);
    1995 }
    &gt;&gt;&gt; CID 661497: (RESOURCE_LEAK)
    &gt;&gt;&gt; Handle variable &quot;fd&quot; going out of scope leaks the handle.
    1996 }
    1997
    1998 if (mode &amp; EX_BG) /* background execution, detach child */
    1999 {
    2000 if (daemon(TRUE, FALSE) != 0)
    2001 lprintf(LOG_ERR, &quot;!ERROR %d (%s) daemonizing: %s&quot;, errno, strerror(errno), argv[0]);
    /xtrn.cpp: 1996 in sbbs_t::external(const char *, int, const char *, const char *, const char *)()
    1990 dup2(fd, STDOUT_FILENO);
    1991 if (!(mode &amp; EX_NOLOG))
    1992 dup2(fd, STDERR_FILENO);
    1993 if (fd &gt; 2)
    1994 close(fd);
    1995 }
    &gt;&gt;&gt; CID 661497: (RESOURCE_LEAK)
    &gt;&gt;&gt; Handle variable &quot;fd&quot; going out of scope leaks the handle.
    1996 }
    1997
    1998 if (mode &amp; EX_BG) /* background execution, detach child */
    1999 {
    2000 if (daemon(TRUE, FALSE) != 0)
    2001 lprintf(LOG_ERR, &quot;!ERROR %d (%s) daemonizing: %s&quot;, errno, strerror(errno), argv[0]);

    ** CID 661496: (CHECKED_RETURN)
    /xtrn_sec.cpp: 1369 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int, const xtrn_t *)()
    /xtrn_sec.cpp: 1359 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int, const xtrn_t *)()


    _____________________________________________________________________________________________
    *** CID 661496: (CHECKED_RETURN)
    /xtrn_sec.cpp: 1369 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int, const xtrn_t *)()
    1363 int chmod_result = CHMOD(str, _S_IREAD);
    1364 #else
    1365 int chmod_result = CHMOD(str, S_IRUSR);
    1366 #endif
    1367 if (chmod_result != 0) {
    1368 errormsg(WHERE, ERR_WRITE, str, errno); &gt;&gt;&gt; CID 661496: (CHECKED_RETURN)
    &gt;&gt;&gt; Calling &quot;remove(str)&quot; without checking return value. This library function may fail and return an error code.
    1369 remove(str);
    1370 return false;
    1371 }
    1372 }
    1373
    1374 else if (type == XTRN_DOORDROP) { /* DOORDROP.INI 1.0 */ /xtrn_sec.cpp: 1359 in sbbs_t::xtrndat(const char *, const char *, unsigned char, unsigned int, unsigned int, const xtrn_t *)()
    1353 }
    1354 bool write_ok = bbsdev_write(fp, lines, sizeof(lines) / sizeof(lines[0]));
    1355 if (fclose(fp) != 0)
    1356 write_ok = false;
    1357 if (!write_ok) {
    1358 errormsg(WHERE, ERR_WRITE, str, 0); &gt;&gt;&gt; CID 661496: (CHECKED_RETURN)
    &gt;&gt;&gt; Calling &quot;remove(str)&quot; without checking return value. This library function may fail and return an error code.
    1359 remove(str);
    1360 return false;
    1361 }
    1362 #if defined(_WIN32)
    1363 int chmod_result = CHMOD(str, _S_IREAD);
    1364 #else

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6ae743822b53b_5c7a2ccda420599c7397c--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to cov-scan@synchro.net on Thu Nov 5 13:47:21 2026
    ----==_mimepart_6aec88e8a3a8a_46aa22ccda420599c739e4
    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 661670: Insecure data handling (INTEGER_OVERFLOW)
    /js_socket.cpp: 1168 in js_socket_finish_connect(JSContext *, js_event_list *, bool)()


    _____________________________________________________________________________________________
    *** CID 661670: Insecure data handling (INTEGER_OVERFLOW) /js_socket.cpp: 1168 in js_socket_finish_connect(JSContext *, js_event_list *, bool)()
    1162 {
    1163 js_socket_private_t *p = (js_socket_private_t *)JS_GetPrivate(cx, event->cx);
    1164 struct js_connect_result result;
    1165 size_t received = 0;
    1166 jsrefcount rc = JS_SUSPENDREQUEST(cx);
    1167 while (received < sizeof result) {
    CID 661670: Insecure data handling (INTEGER_OVERFLOW)
    "8UL - received", which might have underflowed, is passed to "recv(event->data.connect.sv[0], (char *)&result + received, 8UL - received, 0)".
    1168 int rd = recv(event->data.connect.sv[0], (char *)&result + received, sizeof result - received, 0);
    1169 if (rd == SOCKET_ERROR && SOCKET_ERRNO == EINTR)
    1170 continue;
    1171 if (rd <= 0)
    1172 break;
    1173 received += rd;


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6aec88e8a3a8a_46aa22ccda420599c739e4
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 661670: Insecure data handling (INTEGER_OVERFLOW)
    /js_socket.cpp: 1168 in js_socket_finish_connect(JSContext *, js_event_list *, bool)()


    _____________________________________________________________________________________________
    *** CID 661670: Insecure data handling (INTEGER_OVERFLOW) /js_socket.cpp: 1168 in js_socket_finish_connect(JSContext *, js_event_list *, bool)()
    1162 {
    1163 js_socket_private_t *p = (js_socket_private_t *)JS_GetPrivate(cx, event-&gt;cx);
    1164 struct js_connect_result result;
    1165 size_t received = 0;
    1166 jsrefcount rc = JS_SUSPENDREQUEST(cx);
    1167 while (received &lt; sizeof result) {
    &gt;&gt;&gt; CID 661670: Insecure data handling (INTEGER_OVERFLOW) &gt;&gt;&gt; &quot;8UL - received&quot;, which might have underflowed, is passed to &quot;recv(event-&gt;data.connect.sv[0], (char *)&amp;result + received, 8UL - received, 0)&quot;.
    1168 int rd = recv(event-&gt;data.connect.sv[0], (char *)&amp;result + received, sizeof result - received, 0);
    1169 if (rd == SOCKET_ERROR &amp;&amp; SOCKET_ERRNO == EINTR)
    1170 continue;
    1171 if (rd &lt;= 0)
    1172 break;
    1173 received += rd;

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6aec88e8a3a8a_46aa22ccda420599c739e4--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Mon Nov 9 13:48:30 2026
    ----==_mimepart_6af1cf2da4e38_865702ccda420599c739f8
    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.
    1 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 661775: Insecure data handling (TAINTED_SCALAR)


    _____________________________________________________________________________________________
    *** CID 661775: Insecure data handling (TAINTED_SCALAR)
    /str.cpp: 655 in sbbs_t::read_sif_dat(char *, char *)()
    649 return;
    650 }
    651 length = read(file, buf, length);
    652 if (length < 0)
    653 length = 0;
    654 close(file);
    CID 661775: Insecure data handling (TAINTED_SCALAR)
    Passing tainted expression "*buf" to "sof", which uses it as an offset. 655 sof(siffile, buf, length);
    656 free(buf);
    657 }
    658
    659 static bool is_template_char(char ch)
    660 {


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6af1cf2da4e38_865702ccda420599c739f8
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li>
    1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 661775: Insecure data handling (TAINTED_SCALAR)


    _____________________________________________________________________________________________
    *** CID 661775: Insecure data handling (TAINTED_SCALAR)
    /str.cpp: 655 in sbbs_t::read_sif_dat(char *, char *)()
    649 return;
    650 }
    651 length = read(file, buf, length);
    652 if (length &lt; 0)
    653 length = 0;
    654 close(file);
    &gt;&gt;&gt; CID 661775: Insecure data handling (TAINTED_SCALAR) &gt;&gt;&gt; Passing tainted expression &quot;*buf&quot; to &quot;sof&quot;, which uses it as an offset.
    655 sof(siffile, buf, length);
    656 free(buf);
    657 }
    658
    659 static bool is_template_char(char ch)
    660 {

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6af1cf2da4e38_865702ccda420599c739f8--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to cov-scan@synchro.net on Sat Nov 14 13:47:18 2026
    ----==_mimepart_6af86665cb6c5_d7e3b2bf2b00919a089246
    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 662148: High impact quality (Y2K38_SAFETY)
    /upload.cpp: 69 in sbbs_t::uploadfile(smbmsg_t *, long)()


    _____________________________________________________________________________________________
    *** CID 662148: High impact quality (Y2K38_SAFETY)
    /upload.cpp: 69 in sbbs_t::uploadfile(smbmsg_t *, long)()
    63 bprintf(text[FileNotReceived], f->name);
    64 llprintf(LOG_NOTICE, "U!", "attempted to upload %s to %s %s (Not received)"
    65 , f->name
    66 , cfg.lib[cfg.dir[f->dir]->lib]->sname, cfg.dir[f->dir]->sname);
    67 return false;
    68 }
    CID 662148: High impact quality (Y2K38_SAFETY)
    A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "fdate(path)" is cast to "uint32_t".
    69 f->hdr.when_written.time = (uint32_t)fdate(path);
    70 for (i = 0; i < cfg.total_ftests; i++)
    71 if (file_type_match(f->name, cfg.ftest[i]->ext)) {
    72 if (!chk_ar(cfg.ftest[i]->ar, &useron, &client))
    73 continue;
    74 attr(LIGHTGRAY);


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6af86665cb6c5_d7e3b2bf2b00919a089246
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li>
    2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 662148: High impact quality (Y2K38_SAFETY)
    /upload.cpp: 69 in sbbs_t::uploadfile(smbmsg_t *, long)()


    _____________________________________________________________________________________________
    *** CID 662148: High impact quality (Y2K38_SAFETY)
    /upload.cpp: 69 in sbbs_t::uploadfile(smbmsg_t *, long)()
    63 bprintf(text[FileNotReceived], f-&gt;name);
    64 llprintf(LOG_NOTICE, &quot;U!&quot;, &quot;attempted to upload %s to %s %s (Not received)&quot;
    65 , f-&gt;name
    66 , cfg.lib[cfg.dir[f-&gt;dir]-&gt;lib]-&gt;sname, cfg.dir[f-&gt;dir]-&gt;sname);
    67 return false;
    68 }
    &gt;&gt;&gt; CID 662148: High impact quality (Y2K38_SAFETY) &gt;&gt;&gt; A &quot;time_t&quot; value is stored in an integer with too few bits to accommodate it. The expression &quot;fdate(path)&quot; is cast to &quot;uint32_t&quot;.
    69 f-&gt;hdr.when_written.time = (uint32_t)fdate(path);
    70 for (i = 0; i &lt; cfg.total_ftests; i++)
    71 if (file_type_match(f-&gt;name, cfg.ftest[i]-&gt;ext)) {
    72 if (!chk_ar(cfg.ftest[i]-&gt;ar, &amp;useron, &amp;client))
    73 continue;
    74 attr(LIGHTGRAY);

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6af86665cb6c5_d7e3b2bf2b00919a089246--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to All on Tue Nov 17 13:48:08 2026
    ----==_mimepart_6afc5b17be9e9_107d1e2bf2b00919a0892b3
    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.
    1 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 662206: Error handling issues (CHECKED_RETURN)
    /js_file.cpp: 2457 in js_file_set(JSContext *, JSObject *, long, int, unsigned long *)()


    _____________________________________________________________________________________________
    *** CID 662206: Error handling issues (CHECKED_RETURN)
    /js_file.cpp: 2457 in js_file_set(JSContext *, JSObject *, long, int, unsigned long *)()
    2451 jsdouble pos;
    2452 if (!JS_ValueToNumber(cx, *vp, &pos)) 2453 return JS_FALSE;
    2454 if (!(pos >= 0))
    2455 pos = 0;
    2456 rc = JS_SUSPENDREQUEST(cx);
    CID 662206: Error handling issues (CHECKED_RETURN)
    Calling "fseeko(p->fp, (off_t)pos, 0)" without checking return value. This library function may fail and return an error code.
    2457 fseeko(p->fp, (off_t)pos, SEEK_SET); 2458 JS_RESUMEREQUEST(cx, rc);
    2459 }
    2460 break;
    2461 case FILE_PROP_DATE:
    2462 if (!JS_ValueToECMAUint32(cx, *vp, &u))


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6afc5b17be9e9_107d1e2bf2b00919a0892b3
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li>
    1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
    </li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 662206: Error handling issues (CHECKED_RETURN)
    /js_file.cpp: 2457 in js_file_set(JSContext *, JSObject *, long, int, unsigned long *)()


    _____________________________________________________________________________________________
    *** CID 662206: Error handling issues (CHECKED_RETURN)
    /js_file.cpp: 2457 in js_file_set(JSContext *, JSObject *, long, int, unsigned long *)()
    2451 jsdouble pos;
    2452 if (!JS_ValueToNumber(cx, *vp, &amp;pos))
    2453 return JS_FALSE;
    2454 if (!(pos &gt;= 0))
    2455 pos = 0;
    2456 rc = JS_SUSPENDREQUEST(cx); &gt;&gt;&gt; CID 662206: Error handling issues (CHECKED_RETURN) &gt;&gt;&gt; Calling &quot;fseeko(p-&gt;fp, (off_t)pos, 0)&quot; without checking return value. This library function may fail and return an error code.
    2457 fseeko(p-&gt;fp, (off_t)pos, SEEK_SET); 2458 JS_RESUMEREQUEST(cx, rc);
    2459 }
    2460 break;
    2461 case FILE_PROP_DATE:
    2462 if (!JS_ValueToECMAUint32(cx, *vp, &amp;u))

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6afc5b17be9e9_107d1e2bf2b00919a0892b3--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From scan-admin@coverity.com@VERT to cov-scan@synchro.net on Sat Nov 21 13:47:08 2026
    ----==_mimepart_6b01a0db5ba1c_1482bb2dc1e9b019a8950cc
    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 662403: Incorrect expression (SIZEOF_MISMATCH)
    /scfglib1.c: 553 in read_domains_cfg_file()


    _____________________________________________________________________________________________
    *** CID 662403: Incorrect expression (SIZEOF_MISMATCH)
    /scfglib1.c: 553 in read_domains_cfg_file()
    547
    548 SAFEPRINTF2(path, "%s%s", cfg->ctrl_dir, fname);
    549 if ((fp = fnopen(NULL, path, O_RDONLY)) == NULL)
    550 return true;
    551 if ((names = strListInit()) == NULL) {
    552 fclose(fp);
    CID 662403: Incorrect expression (SIZEOF_MISMATCH)
    Passing argument "error" of type "char *" and argument "8UL /* sizeof (char *) */" to function "allocerr" is suspicious.
    553 return allocerr(error, maxerrlen, fname, "domain list", sizeof(char*));
    554 }
    555 while (fgets(line, sizeof line, fp) != NULL) {
    556 if (++lines > DOMAINS_CFG_MAX_LINES) {
    557 snprintf(error, maxerrlen, "%s: only the first %d lines were read", path, DOMAINS_CFG_MAX_LINES);
    558 break;


    ________________________________________________________________________________________________________
    To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/synchronet?tab=overview


    ----==_mimepart_6b01a0db5ba1c_1482bb2dc1e9b019a8950cc
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>New Defects Reported - Synchronet</title>
    <style>
    body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
    .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    font-size: 16px;
    color: #fff !important;
    background-color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    }
    pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
    }
    </style>
    </head>
    <body>
    <p>Hi,</p>

    <p>
    Please find the latest report on new defect(s) introduced to <strong>Synchronet</strong>
    found with Coverity Scan.
    </p>

    <ul>
    <li><strong>New Defects Found:</strong> 1</li>
    <li><strong>Defects Shown:</strong> Showing 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 662403: Incorrect expression (SIZEOF_MISMATCH)
    /scfglib1.c: 553 in read_domains_cfg_file()


    _____________________________________________________________________________________________
    *** CID 662403: Incorrect expression (SIZEOF_MISMATCH)
    /scfglib1.c: 553 in read_domains_cfg_file()
    547
    548 SAFEPRINTF2(path, &quot;%s%s&quot;, cfg-&gt;ctrl_dir, fname); 549 if ((fp = fnopen(NULL, path, O_RDONLY)) == NULL)
    550 return true;
    551 if ((names = strListInit()) == NULL) {
    552 fclose(fp);
    &gt;&gt;&gt; CID 662403: Incorrect expression (SIZEOF_MISMATCH) &gt;&gt;&gt; Passing argument &quot;error&quot; of type &quot;char *&quot; and argument &quot;8UL /* sizeof (char *) */&quot; to function &quot;allocerr&quot; is suspicious.
    553 return allocerr(error, maxerrlen, fname, &quot;domain list&quot;, sizeof(char*));
    554 }
    555 while (fgets(line, sizeof line, fp) != NULL) {
    556 if (++lines &gt; DOMAINS_CFG_MAX_LINES) {
    557 snprintf(error, maxerrlen, &quot;%s: only the first %d lines were read&quot;, path, DOMAINS_CFG_MAX_LINES);
    558 break;

    </pre>

    <p>
    <a href="https://scan.coverity.com/projects/synchronet?tab=overview" class="button">View Defects in Coverity Scan</a>
    </p>

    <p>Best regards,</p>
    <p>The Coverity Scan Admin Team</p>
    <img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
    </body>
    </html>
    ----==_mimepart_6b01a0db5ba1c_1482bb2dc1e9b019a8950cc--


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net