Skip to content

Bug fixes #204

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

Closed
wants to merge 4 commits into from
Closed

Bug fixes #204

wants to merge 4 commits into from

Conversation

DemiMarie
Copy link
Contributor

Miscellaneous minor (but untested, for now) bug fixes.

Without that flag accessing the buffer memory is undefined behavior,
though it happens to work in my tests.
This will help avoid data races in the future.  No functional change
intended.
buf->datas[0].maxsize is an absolute limit and must not be multiplied by
impl->frame_size.  This results in a buffer overflow under if
buf->datas[0].maxsize is small.  I do not believe this can be triggered
by an attacker.
Only trace logs are allowed to be used in the realtime thread.
@marmarek
Copy link
Member

marmarek commented Feb 6, 2024

This is irrelevant since #205 is merged, right?

@DemiMarie
Copy link
Contributor Author

This is irrelevant since #205 is merged, right?

Yup, closing.

@DemiMarie DemiMarie closed this Feb 6, 2024
@DemiMarie DemiMarie deleted the bug-fixes branch February 6, 2024 01:15
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