mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
Off-by-one error
This commit is contained in:
parent
3aac3f5583
commit
766778453c
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ iso9660_get_rock_attr_str(posix_mode_t st_mode)
|
||||||
result[ 8] = (st_mode & ISO_ROCK_IWOTH) ? 'w' : '-';
|
result[ 8] = (st_mode & ISO_ROCK_IWOTH) ? 'w' : '-';
|
||||||
result[ 9] = (st_mode & ISO_ROCK_IXOTH) ? 'x' : '-';
|
result[ 9] = (st_mode & ISO_ROCK_IXOTH) ? 'x' : '-';
|
||||||
|
|
||||||
result[11] = '\0';
|
result[10] = '\0';
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue