ntfs: Set abs_mnt_point to a non-NULL string.
It seems lowntfs and libntfs-3g kind of assume there is something in here. This may result in broken links, but that's better than crashing. Should fix #17400.
This commit is contained in:
@@ -196,7 +196,7 @@ fs_mount(fs_volume* _volume, const char* device, uint32 flags,
|
|||||||
volume->lowntfs.current_close_state_vnode = NULL;
|
volume->lowntfs.current_close_state_vnode = NULL;
|
||||||
|
|
||||||
volume->lowntfs.vol = volume->ntfs;
|
volume->lowntfs.vol = volume->ntfs;
|
||||||
volume->lowntfs.abs_mnt_point = NULL;
|
volume->ntfs->abs_mnt_point = volume->lowntfs.abs_mnt_point = strdup("");
|
||||||
volume->lowntfs.dmask = 0;
|
volume->lowntfs.dmask = 0;
|
||||||
volume->lowntfs.fmask = S_IXUSR | S_IXGRP | S_IXOTH;
|
volume->lowntfs.fmask = S_IXUSR | S_IXGRP | S_IXOTH;
|
||||||
volume->lowntfs.dmtime = 0;
|
volume->lowntfs.dmtime = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user