aboutsummaryrefslogtreecommitdiff
path: root/words3
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2024-04-09 21:11:02 +0200
committerMark Wielaard <mjw@redhat.com>2024-04-09 21:11:07 +0200
commitfbc4b11da543753b3b803e5546f56e26ec90c2a7 (patch)
tree15dd820facfa1f465f20ee54c2ec9e03660591b8 /words3
parent9de658d248f9fd304afa3321dd7a9de1280356ec (diff)
downloadbzip2-fbc4b11da543753b3b803e5546f56e26ec90c2a7.tar.gz
bzip2-fbc4b11da543753b3b803e5546f56e26ec90c2a7.tar.bz2
bzip2-fbc4b11da543753b3b803e5546f56e26ec90c2a7.zip
Make sure to call isdigit and isspace with unsigned charHEADmaster
Casting to Int32 or int could create negative values. Which isspace and isdigit don't handle. SEI CERT C Coding Standard STR37-C. Resolve by casting to UChar or unsigned char instead of Int32 or int. https://sourceware.org/bugzilla/show_bug.cgi?id=28283
Diffstat (limited to 'words3')
0 files changed, 0 insertions, 0 deletions