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

BLEEndPoint possible refcount overflow #15579

Closed
andyp-apple opened this issue Feb 25, 2022 · 1 comment · Fixed by #16046
Closed

BLEEndPoint possible refcount overflow #15579

andyp-apple opened this issue Feb 25, 2022 · 1 comment · Fixed by #16046
Assignees

Comments

@andyp-apple
Copy link

mRefCount should be checked for overflow before incrementing

void AddRef() { mRefCount++; }

@lzgrablic02
Copy link
Contributor

It doesn't look like AddRef() is even called. Is it still needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants