srt-1.5.4-5.fc44

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
srt-1.5.4/haicrypt/cryspr-gnutls.c: scope_hint: In function ‘crysprGnuTLS_AES_SetKey’
srt-1.5.4/haicrypt/cryspr-gnutls.c:55:9: warning[-Wdeprecated-declarations]: ‘nettle_aes_set_encrypt_key’ is deprecated
#   55 |         aes_set_encrypt_key (aes_key, kstr_len, kstr);
#      |         ^~~~~~~~~~~~~~~~~~~
srt-1.5.4/haicrypt/cryspr-gnutls.h:26: included_from: Included from here.
srt-1.5.4/haicrypt/cryspr-config.h:17: included_from: Included from here.
srt-1.5.4/haicrypt/cryspr.h:39: included_from: Included from here.
srt-1.5.4/haicrypt/hcrypt.h:48: included_from: Included from here.
srt-1.5.4/haicrypt/cryspr-gnutls.c:22: included_from: Included from here.
/usr/include/nettle/aes.h:158:1: note: declared here
#  158 | aes_set_encrypt_key(struct aes_ctx *ctx,
#      | ^~~~~~~~~~~~~~~~~~~
#   53|             return -1;
#   54|           }
#   55|->         aes_set_encrypt_key (aes_key, kstr_len, kstr);
#   56|       } else {               /* Decrypt key */
#   57|           if (!(kstr_len == 16 || kstr_len == 24 || kstr_len == 32)) {

Error: COMPILER_WARNING (CWE-477): [#def2]
srt-1.5.4/haicrypt/cryspr-gnutls.c:55:9: warning[-Wdeprecated-declarations]: ‘nettle_aes_set_encrypt_key’ is deprecated
#   53|             return -1;
#   54|           }
#   55|->         aes_set_encrypt_key (aes_key, kstr_len, kstr);
#   56|       } else {               /* Decrypt key */
#   57|           if (!(kstr_len == 16 || kstr_len == 24 || kstr_len == 32)) {

Error: COMPILER_WARNING (CWE-477): [#def3]
srt-1.5.4/haicrypt/cryspr-gnutls.c:61:9: warning[-Wdeprecated-declarations]: ‘nettle_aes_set_decrypt_key’ is deprecated
#   61 |         aes_set_decrypt_key (aes_key, kstr_len, kstr);
#      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/nettle/aes.h:163:1: note: declared here
#  163 | aes_set_decrypt_key(struct aes_ctx *ctx,
#      | ^~~~~~~~~~~~~~~~~~~
#   59|             return -1;
#   60|           }
#   61|->         aes_set_decrypt_key (aes_key, kstr_len, kstr);
#   62|       }
#   63|       return(0);

Error: COMPILER_WARNING (CWE-477): [#def4]
srt-1.5.4/haicrypt/cryspr-gnutls.c:61:9: warning[-Wdeprecated-declarations]: ‘nettle_aes_set_decrypt_key’ is deprecated
#   59|             return -1;
#   60|           }
#   61|->         aes_set_decrypt_key (aes_key, kstr_len, kstr);
#   62|       }
#   63|       return(0);

Error: COMPILER_WARNING (CWE-477): [#def5]
srt-1.5.4/haicrypt/cryspr-gnutls.c: scope_hint: In function ‘crysprGnuTLS_AES_EcbCipher’
srt-1.5.4/haicrypt/cryspr-gnutls.c:81:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
#   81 |             aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
#      |             ^~~~~~~~~~~
/usr/include/nettle/aes.h:173:1: note: declared here
#  173 | aes_encrypt(const struct aes_ctx *ctx,
#      | ^~~~~~~~~~~
#   79|           /* Encrypt packet payload, block by block, in output buffer */
#   80|           for (i=0; i<nblk; i++){
#   81|->             aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
#   82|           }
#   83|           /* Encrypt last incomplete block */

Error: COMPILER_WARNING (CWE-477): [#def6]
srt-1.5.4/haicrypt/cryspr-gnutls.c:81:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
#   79|           /* Encrypt packet payload, block by block, in output buffer */
#   80|           for (i=0; i<nblk; i++){
#   81|->             aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
#   82|           }
#   83|           /* Encrypt last incomplete block */

Error: COMPILER_WARNING (CWE-477): [#def7]
srt-1.5.4/haicrypt/cryspr-gnutls.c:89:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
#   89 |             aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(nblk*CRYSPR_AESBLKSZ)], intxt);
#      |             ^~~~~~~~~~~
/usr/include/nettle/aes.h:173:1: note: declared here
#  173 | aes_encrypt(const struct aes_ctx *ctx,
#      | ^~~~~~~~~~~
#   87|               memcpy(intxt, &indata[(nblk*CRYSPR_AESBLKSZ)], nmore);
#   88|               memset(intxt+nmore, 0, CRYSPR_AESBLKSZ-nmore);
#   89|->             aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(nblk*CRYSPR_AESBLKSZ)], intxt);
#   90|               nblk++;
#   91|           }

Error: COMPILER_WARNING (CWE-477): [#def8]
srt-1.5.4/haicrypt/cryspr-gnutls.c:89:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
#   87|               memcpy(intxt, &indata[(nblk*CRYSPR_AESBLKSZ)], nmore);
#   88|               memset(intxt+nmore, 0, CRYSPR_AESBLKSZ-nmore);
#   89|->             aes_encrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(nblk*CRYSPR_AESBLKSZ)], intxt);
#   90|               nblk++;
#   91|           }

Error: COMPILER_WARNING (CWE-477): [#def9]
srt-1.5.4/haicrypt/cryspr-gnutls.c:95:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_decrypt’ is deprecated
#   95 |             aes_decrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
#      |             ^~~~~~~~~~~
/usr/include/nettle/aes.h:177:1: note: declared here
#  177 | aes_decrypt(const struct aes_ctx *ctx,
#      | ^~~~~~~~~~~
#   93|       } else { /* Decrypt */
#   94|           for (i=0; i<nblk; i++){
#   95|->             aes_decrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
#   96|           }
#   97|           /* Encrypt last incomplete block */

Error: COMPILER_WARNING (CWE-477): [#def10]
srt-1.5.4/haicrypt/cryspr-gnutls.c:95:13: warning[-Wdeprecated-declarations]: ‘nettle_aes_decrypt’ is deprecated
#   93|       } else { /* Decrypt */
#   94|           for (i=0; i<nblk; i++){
#   95|->             aes_decrypt(aes_key, CRYSPR_AESBLKSZ, &out_txt[(i*CRYSPR_AESBLKSZ)], &indata[(i*CRYSPR_AESBLKSZ)]);
#   96|           }
#   97|           /* Encrypt last incomplete block */

Error: COMPILER_WARNING (CWE-477): [#def11]
srt-1.5.4/haicrypt/cryspr-gnutls.c: scope_hint: In function ‘crysprGnuTLS_AES_CtrCipher’
srt-1.5.4/haicrypt/cryspr-gnutls.c:117:16: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
#  117 |                (nettle_cipher_func*)aes_encrypt, /* nettle_cipher_func */
#      |                ^
/usr/include/nettle/aes.h:173:1: note: declared here
#  173 | aes_encrypt(const struct aes_ctx *ctx,
#      | ^~~~~~~~~~~
#  115|   
#  116|       ctr_crypt (aes_key,         /* ctx */
#  117|->                (nettle_cipher_func*)aes_encrypt, /* nettle_cipher_func */
#  118|                  CRYSPR_AESBLKSZ,  /* cipher blocksize */
#  119|                  iv,              /* iv */

Error: COMPILER_WARNING (CWE-477): [#def12]
srt-1.5.4/haicrypt/cryspr-gnutls.c:117:16: warning[-Wdeprecated-declarations]: ‘nettle_aes_encrypt’ is deprecated
#  115|   
#  116|       ctr_crypt (aes_key,         /* ctx */
#  117|->                (nettle_cipher_func*)aes_encrypt, /* nettle_cipher_func */
#  118|                  CRYSPR_AESBLKSZ,  /* cipher blocksize */
#  119|                  iv,              /* iv */

Error: COMPILER_WARNING (CWE-686): [#def13]
srt-1.5.4/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-IYG9lX/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘__atomic_fetch_add_8’; expected ‘long unsigned int(volatile void *, long unsigned int,  int)’

Error: COMPILER_WARNING (CWE-477): [#def14]
srt-1.5.4/srtcore/fec.cpp: scope_hint: In member function ‘virtual bool srt::FECFilterBuiltin::receive(const srt::CPacket&, srt::SrtPacketFilterBase::loss_seqs_t&)’
srt-1.5.4/srtcore/fec.cpp:862:26: warning[-Wdeprecated-declarations]: ‘std::rel_ops’ is deprecated: use '<=>' instead
#  862 |     using namespace std::rel_ops;
#      |                          ^~~~~~~
/usr/include/c++/16/bits/requires_hosted.h:31: included_from: Included from here.
/usr/include/c++/16/string:40: included_from: Included from here.
srt-1.5.4/srtcore/fec.cpp:13: included_from: Included from here.
/usr/include/c++/16/bits/stl_relops.h:66:21: note: declared here
#   66 |   namespace rel_ops _GLIBCXX20_DEPRECATED_SUGGEST("<=>")
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  860|   
#  861|       // Required for EHangStatus
#  862|->     using namespace std::rel_ops;
#  863|   
#  864|       EHangStatus okh = HANG_NOTDONE;

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-75.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260420.180315.gd39a405.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namesrt-1.5.4-5.fc44
store-results-to/tmp/tmpfjhkov6o/srt-1.5.4-5.fc44.tar.xz
time-created2026-04-28 19:59:44
time-finished2026-04-28 20:02:20
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpfjhkov6o/srt-1.5.4-5.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpfjhkov6o/srt-1.5.4-5.fc44.src.rpm'
tool-versioncsmock-3.8.5-1.el9