mirror of
https://github.com/winfsp/winfsp.git
synced 2026-10-15 17:09:54 -05:00
dll: fuse: ensure MaxComponentLength is initialized
This commit is contained in:
1 parent
df4c19c113
commit
dd907a44ad
1 file changed
+1
-1
@@ -196,7 +196,7 @@ static NTSTATUS fsp_fuse_loop_start(struct fuse *f)
|
||||
f->VolumeParams.SectorSize = FSP_FUSE_SECTORSIZE_MAX;
|
||||
if (f->VolumeParams.SectorsPerAllocationUnit == 0)
|
||||
f->VolumeParams.SectorsPerAllocationUnit = 1;
|
||||
if (f->VolumeParams.MaxComponentLength > 255)
|
||||
if (f->VolumeParams.MaxComponentLength == 0 || f->VolumeParams.MaxComponentLength > 255)
|
||||
f->VolumeParams.MaxComponentLength = 255;
|
||||
|
||||
if (0 == f->VolumeParams.VolumeCreationTime)
|
||||
|
||||
Reference in new issue
Block a user