Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure bmalloc always takes positive size #39

Merged
merged 1 commit into from
Nov 30, 2024
Merged

Conversation

norihiro
Copy link
Owner

@norihiro norihiro commented Oct 8, 2024

Description

OBS Studio >= 31.0.0 requires bmalloc takes positive size, or it will crash.

Though the case probably won't hit, it would be safe to check the size before calling bmalloc.

How Has This Been Tested?

I have not tested yet.

General checklist

  • The commit is reviewed by yourself.
  • The code is tested.
  • Document is up to date or not necessary to be changed.
  • The commit is compatible with repository's license.

@norihiro norihiro merged commit 0382723 into main Nov 30, 2024
9 checks passed
@norihiro norihiro deleted the ensure-positive-bzalloc branch November 30, 2024 02:22
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