8000 OleFileIO.nb_sect should match FAT size · Issue #60 · decalage2/olefile · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 8000 header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark>

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
OleFileIO.nb_sect should match FAT size #60
Open
@decalage2

Description

@decalage2

OleFileIO.nb_sect is computed based on the file size, not on the FAT size. When a file contains extra data appended after the original OLE content (for example an EXE appended to a Word doc), nb_sect can be larger than the number of FAT entries, resulting in exceptions.

OleFileIO.nb_sect should be read from the OLE header instead.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0