Skip to content

Fix Global Buffer Overflow on "PreserveRegisterIfOccupied" Function#506

Open
cla7aye15I4nd wants to merge 1 commit into
wasm3:mainfrom
cla7aye15I4nd:fix-483
Open

Fix Global Buffer Overflow on "PreserveRegisterIfOccupied" Function#506
cla7aye15I4nd wants to merge 1 commit into
wasm3:mainfrom
cla7aye15I4nd:fix-483

Conversation

@cla7aye15I4nd
Copy link
Copy Markdown

Fix #483

This patch ensures that the type variable is within the valid range before using it as an index to access the c_setSetOps array, thus preventing the global-buffer-overflow error.

@cla7aye15I4nd cla7aye15I4nd changed the title Fix global overflow Fix Global Buffer Overflow on "PreserveRegisterIfOccupied" Function Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[Security] Global Buffer Overflow on "PreserveRegisterIfOccupied" Function

1 participant