microsoft / microsoft/Windows-driver-samples

FastFat can sometimes fail FilePositionInformation unnecessarily for read-only media

Open
#753 7 comments 0 reactions 1 assignee View on GitHub

@msscolee is already working on this.

Since Nov 11, 2025.

bug
Dominant language
C
Stars
7.8k
Forks
5k
Avg merge
3d 17h
Merged PRs (30d)
7

Description

FIC FilePositionInformation should be excluded from the IRP_MJ_SET_INFORMATION check here: https://github.com/microsoft/Windows-driver-samples/blob/d0b7e627fc4aebe6b9c3805a63d0aba4557433ab/filesys/fastfat/verfysup.c#L1707

It should work even for write protected media.

This can cause application failures e.g. opening pdfs using acrobat reader on read-only disks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.