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:
Augustin Cavalier
2021-11-14 19:13:42 -05:00
parent 0eb2bf0e66
commit f11e13144d
@@ -196,7 +196,7 @@ fs_mount(fs_volume* _volume, const char* device, uint32 flags,
volume->lowntfs.current_close_state_vnode = NULL;
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.fmask = S_IXUSR | S_IXGRP | S_IXOTH;
volume->lowntfs.dmtime = 0;