perl-TermReadKey-2.38-29.fc45

List of Findings

Error: COMPILER_WARNING (CWE-758): [#def1]
TermReadKey-2.38/ReadKey.xs: scope_hint: In function ‘selectfile’
TermReadKey-2.38/ReadKey.xs:1482:28: warning[-Wrestrict]: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 4
# 1482 |         if(select(handle+1,(Select_fd_set_t)&fd,
#      |                            ^~~~~~~~~~~~~~~~~~~~
# 1483 |                            (Select_fd_set_t)0,
# 1484 |                            (Select_fd_set_t)&fd, &t)) return -1;
#      |                            ~~~~~~~~~~~~~~~~~~~~
# 1480|   	FD_ZERO(&fd);
# 1481|   	FD_SET(handle,&fd);
# 1482|-> 	if(select(handle+1,(Select_fd_set_t)&fd,
# 1483|   			   (Select_fd_set_t)0,
# 1484|   			   (Select_fd_set_t)&fd, &t)) return -1; 

Error: COMPILER_WARNING: [#def2]
TermReadKey-2.38/ReadKey.xs:7: included_from: Included from here.
TermReadKey-2.38/ppport.h:4385:10: warning: ‘WIDEST_UTYPE’ redefined
# 4385 | # define WIDEST_UTYPE U64TYPE
#      |          ^~~~~~~~~~~~
/usr/lib64/perl5/CORE/perl.h:3259: included_from: Included from here.
TermReadKey-2.38/ReadKey.xs:5: included_from: Included from here.
/usr/lib64/perl5/CORE/handy.h:1420:9: note: this is the location of the previous definition
# 1420 | #define WIDEST_UTYPE PERL_UINTMAX_T
#      |         ^~~~~~~~~~~~
# 4383|   
# 4384|   #ifdef HAS_QUAD
# 4385|-> # define WIDEST_UTYPE U64TYPE
# 4386|   #else
# 4387|   # define WIDEST_UTYPE U32

Error: COMPILER_WARNING: [#def3]
TermReadKey-2.38/ppport.h:4385:10: warning[warning]: ‘WIDEST_UTYPE’ redefined
# 4383|   
# 4384|   #ifdef HAS_QUAD
# 4385|-> # define WIDEST_UTYPE U64TYPE
# 4386|   #else
# 4387|   # define WIDEST_UTYPE U32

Error: COMPILER_WARNING (CWE-563): [#def4]
TermReadKey-2.38/tmp74.c:2:27: warning[-Wunused-variable]: unused variable ‘s’

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-243.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameperl-TermReadKey-2.38-29.fc45
store-results-to/tmp/tmpror2cu7f/perl-TermReadKey-2.38-29.fc45.tar.xz
time-created2026-08-03 19:27:20
time-finished2026-08-03 19:28:26
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpror2cu7f/perl-TermReadKey-2.38-29.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpror2cu7f/perl-TermReadKey-2.38-29.fc45.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9