question pertaining to the binary compound file format

Justin Ferguson 5 Reputation points
2023-03-01T00:47:07.82+00:00

Hello,

I am working off of the specification for compound binary files found here: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-cfb/53989ce4-7b05-4f8d-829b-d08d6148375b

When attempting to parse a conforming document, I noted that the specification is ambiguous regarding how to parse the FATSECT entry in the FAT. Specifically, the specification itself provides no guidance for what to do with the data found there however the worked example in section 3.2 shows a sector chain terminated by two sequential terminators and states that one ends the directory entry sectors and the second ends the mini-FAT sectors.

I am trying to parse a file with this and I'm uncertain what to do not only because the StgOpenStorageEx et al and the open source CFB parser skip over the FAT entirely and I cannot trigger a read to be able to see how its dealt with; it appears to be archaic legacy that nothing uses and nothing publicly seems to define the format of the FATSECT inside of the FAT.

Best Regards,

Justin N. Ferguson

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
655 questions
Windows Open Specifications
Windows Open Specifications
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
39 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,461 questions
{count} votes