commit | fbc4b11da543753b3b803e5546f56e26ec90c2a7 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Tue Apr 09 21:11:02 2024 +0200 |
committer | Mark Wielaard <mjw@redhat.com> | Tue Apr 09 21:11:07 2024 +0200 |
tree | 15dd820facfa1f465f20ee54c2ec9e03660591b8 | |
parent | 9de658d248f9fd304afa3321dd7a9de1280356ec [diff] |
Make sure to call isdigit and isspace with unsigned char 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