• New Defects reported by Coverity Scan for Synchronet

    From scan-admin@coverity.com@1:103/705 to All on Sun Nov 9 13:52:52 2025

    ----==_mimepart_69109cb38f643_144442ddf8a1d19a097965
    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.
    4 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

    New defect(s) Reported-by: Coverity Scan
    Showing 1 of 1 defect(s)


    ** CID 638545: Control flow issues (MISSING_BREAK)
    /js_socket.c: 2707 in js_socket_get()


    _____________________________________________________________________________________________
    *** CID 638545: Control flow issues (MISSING_BREAK)
    /js_socket.c: 2707 in js_socket_get()
    2701 case SOCK_PROP_TLS_PSK:
    2702 if (p->tls_psk == NULL)
    2703 *vp = JSVAL_VOID;
    2704 else
    2705 *vp = OBJECT_TO_JSVAL(p->tls_psk);
    2706 break;
    CID 638545: Control flow issues (MISSING_BREAK)
    The case for value "SOCK_PROP_TLS_PSK_ID" is not terminated by a "break" statement.
    2707 case SOCK_PROP_TLS_PSK_ID:
    2708 if (p->tls_psk == NULL)
    2709 *vp = JSVAL_VOID;
    2710 else {
    2711 int attrval;
    2712 if ((cryptGetAttribute(p->session, CRYPT_SESSINFO_TLS_OPTIONS, &attrval) != CRYPT_OK)


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


    ----==_mimepart_69109cb38f643_144442ddf8a1d19a097965
    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>
    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 1 of 1 defect(s)</li>
    </ul>

    <h3>Defect Details</h3>
    <pre>
    ** CID 638545: Control flow issues (MISSING_BREAK)
    /js_socket.c: 2707 in js_socket_get()


    _____________________________________________________________________________________________
    *** CID 638545: Control flow issues (MISSING_BREAK)
    /js_socket.c: 2707 in js_socket_get()
    2701 case SOCK_PROP_TLS_PSK:
    2702 if (p-&gt;tls_psk == NULL)
    2703 *vp = JSVAL_VOID;
    2704 else
    2705 *vp = OBJECT_TO_JSVAL(p-&gt;tls_psk); 2706 break;
    &gt;&gt;&gt; CID 638545: Control flow issues (MISSING_BREAK) &gt;&gt;&gt; The case for value &quot;SOCK_PROP_TLS_PSK_ID&quot; is not terminated by a &quot;break&quot; statement.
    2707 case SOCK_PROP_TLS_PSK_ID:
    2708 if (p-&gt;tls_psk == NULL)
    2709 *vp = JSVAL_VOID;
    2710 else {
    2711 int attrval;
    2712 if ((cryptGetAttribute(p-&gt;session, CRYPT_SESSINFO_TLS_OPTIONS, &amp;attrval) != CRYPT_OK)

    </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_69109cb38f643_144442ddf8a1d19a097965--

    --- SBBSecho 3.31-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)