Skip to content

Bugfix: Support 32kb page size#28

Merged
scudette merged 3 commits intomasterfrom
bugfix_32kb
Mar 21, 2026
Merged

Bugfix: Support 32kb page size#28
scudette merged 3 commits intomasterfrom
bugfix_32kb

Conversation

@scudette
Copy link
Copy Markdown
Contributor

In Windows Server 2025 the ESE pagesize increased to 32kb. The AvailablePageTag field is therefore reduced to only 12 bits with the rest of the bits used for something else.

This caused this library to break in parsing the pages and crash.

This PR also adds some more resilience in parsing corrupted data to avoid some crashes.

Credit for this fix goes to https://github.com/takker-hero-se libyal/libesedb#79

In Windows Server 2025 the ESE pagesize increased to 32kb. The
AvailablePageTag field is therefore reduced to only 12 bits with the
rest of the bits used for something else.

This caused this library to break in parsing the pages and crash.

This PR also adds some more resilience in parsing corrupted data to
avoid some crashes.

Credit for this fix goes to https://github.com/takker-hero-se
libyal/libesedb#79
@scudette scudette merged commit b8793d1 into master Mar 21, 2026
5 checks passed
@scudette scudette deleted the bugfix_32kb branch March 21, 2026 07:29
cuhsat added a commit to f0x4n6/go-ese that referenced this pull request Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant