Skip to content

[libde265] Fix potential data race in image.cc #473

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

Merged
merged 1 commit into from
May 5, 2025

Conversation

roticv
Copy link
Contributor

@roticv roticv commented May 5, 2025

There could be potential data race causing s_next_image_ID to not be minting out ID in monotonically increasing order. Before this fix, there was an TSAN failure and with this fix, the TSAN failure is resolved.

There could be potential data race causing s_next_image_ID to not be minting out
ID in monotonically increasing order. Before this fix, there was an TSAN failure
and with this fix, the TSAN failure is resolved.
@@ -22,6 +22,8 @@
#include "decctx.h"
#include "en265.h"

#inclue <atomic>
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo

@farindk farindk merged commit 0321983 into strukturag:master May 5, 2025
1 of 25 checks passed
@farindk
Copy link
Contributor

farindk commented May 5, 2025

Thank you. I have fixed the include line.

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