Skip to content

dosirq.c (irq_hook): cache handler_size, avoid use-after-free for djgpp#81

Merged
sezero merged 1 commit into
libxmp:masterfrom
sezero:dosirq
Feb 26, 2026
Merged

dosirq.c (irq_hook): cache handler_size, avoid use-after-free for djgpp#81
sezero merged 1 commit into
libxmp:masterfrom
sezero:dosirq

Conversation

@sezero

@sezero sezero commented Feb 26, 2026

Copy link
Copy Markdown
Collaborator

CC: @ccawley2011 - this was your work, please review.

@sezero sezero requested a review from AliceLR February 26, 2026 00:15

@AliceLR AliceLR left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks OK to me.

@sezero

sezero commented Feb 26, 2026

Copy link
Copy Markdown
Collaborator Author

Tested under dosbox-0.74 with sb16 and sb1 emulation.

@ccawley2011: Any objections?

@ccawley2011 ccawley2011 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks OK to me. Should this be applied to MikMod as well?

@sezero sezero merged commit 141820f into libxmp:master Feb 26, 2026
1 check passed
@sezero sezero deleted the dosirq branch February 26, 2026 13:10
@sezero

sezero commented Feb 26, 2026

Copy link
Copy Markdown
Collaborator Author

Should this be applied to MikMod as well?

Yes. I will do so, shortly.

Thanks.

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.

3 participants