Off-by-one error

This commit is contained in:
Johan Mattsson 2021-10-30 12:44:42 +02:00 committed by GitHub
parent 3aac3f5583
commit 766778453c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ iso9660_get_rock_attr_str(posix_mode_t st_mode)
result[ 8] = (st_mode & ISO_ROCK_IWOTH) ? 'w' : '-';
result[ 9] = (st_mode & ISO_ROCK_IXOTH) ? 'x' : '-';
result[11] = '\0';
result[10] = '\0';
return result;
}