Skip to content

Backport fix for split_region()#2

Open
vb-opswat wants to merge 1 commit intomasterfrom
split_region_fix_backport
Open

Backport fix for split_region()#2
vb-opswat wants to merge 1 commit intomasterfrom
split_region_fix_backport

Conversation

@vb-opswat
Copy link
Copy Markdown
Collaborator

Issue is observed when uc_mem_protect() is called for a page within a multi-plage region. In this case the region is incorrectly split resulting memory parts zeroed completely. Found some changes in upstream that probably addressed the very same issue. (commits 9651863 and c733bba)

Also removed a warning that made linux compilation fail.

Issue is observed when uc_mem_protect() is called for a page within a multi-plage region.
In this case the region is incorrectly split resulting memory parts zeroed completely.
Found some changes in upstream that probably addressed the very same issue.
(commits 9651863 and c733bba)

Also removed a warning that made linux compilation fail.
@vb-opswat vb-opswat assigned ghost Apr 26, 2024
@petya2164 petya2164 self-assigned this Apr 26, 2024
Copy link
Copy Markdown

@petya2164 petya2164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vb-opswat Excellent job on finding the upstream fixes!

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.

2 participants