VHD build fixes. Patch from shermanp.
This commit is contained in:
parent
5ae201b7e7
commit
322b25a4dc
3 changed files with 9 additions and 7 deletions
|
|
@ -98,7 +98,7 @@ static int mvhd_gen_par_loc(MVHDSparseHeader* header,
|
|||
char child_dir[MVHD_MAX_PATH_BYTES] = {0};
|
||||
size_t child_dir_len;
|
||||
if (strlen(child_path) < sizeof child_dir) {
|
||||
strcpy_s(child_dir, MVHD_MAX_PATH_BYTES, child_path);
|
||||
strcpy(child_dir, child_path);
|
||||
} else {
|
||||
*err = MVHD_ERR_PATH_LEN;
|
||||
rv = -1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue