这是indexloc提供的服务,不要输入任何密码
Skip to content

CommunicationWorkaround crash fix and global references leak #379

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

Conversation

Antonito
Copy link
Contributor

This PR fixes two issues introduced by the CommunicationWorkaround class.

  • Fixes a an integer overflow in libaudioclient.so, android::AudioTrack::processAudioBuffer
    • On some recent Android distributions, some native libraries are compiled with ubsan. The sanitizer would catch this overflow and lead to a crash
  • Fixes a leak of global references android.media.PlayerBase$IPlayerWrapper

@CLAassistant
Copy link

CLAassistant commented Feb 19, 2024

CLA assistant check
All committers have signed the CLA.

@davidliu davidliu merged commit c1be185 into livekit:main Feb 20, 2024
@Antonito Antonito deleted the antoine/communication-workaround-crash-fix branch February 20, 2024 10:07
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