We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ccb43a commit 67dc96eCopy full SHA for 67dc96e
hostfs.c
@@ -698,7 +698,9 @@ hostfs_read_object_info(const char *host_pathname,
698
}
699
700
} else if (strlen(comma + 1) == 3) {
701
- if (isxdigit(comma[1]) && isxdigit(comma[2]) && isxdigit(comma[3])) {
+ if (isxdigit((unsigned char)comma[1]) &&
702
+ isxdigit((unsigned char)comma[2]) &&
703
+ isxdigit((unsigned char)comma[3])) {
704
file_type = (ARMword) strtoul(comma + 1, NULL, 16);
705
truncate_name = true;
706
0 commit comments