Skip to content

Bugfix/linphone daemon#1

Open
realsh00p wants to merge 2 commits intooriginal-dunfellfrom
bugfix/linphone-daemon
Open

Bugfix/linphone daemon#1
realsh00p wants to merge 2 commits intooriginal-dunfellfrom
bugfix/linphone-daemon

Conversation

@realsh00p
Copy link

Applies patches to linphone-daemon cli command "call-stats". The upstream implementation appears to naively expect each call to have both an audio and video component. When linphone performs a lookup for the video component this returns a nullptr (since our calls only use an audio component).

This nullptr is then passed to the ctor for CallStatsEvent where it is eventually dereferenced in subsequent calls causing a segfault.

This PR pushes two patches - the first one only comments out the code and the second one is a little bit more intricate where an explicit nullcheck is performed instead.

An issue has been created in the upstream repo for tracking:

BelledonneCommunications/linphone-sdk#183

The segfault behavior that this patch intends to fix might be fixed
upstream. Track issue on remote github:

BelledonneCommunications/linphone-sdk#183
@hedvigkamp hedvigkamp changed the base branch from yocto-dunfell to test-rebased-yocto-dunfell November 2, 2021 13:23
@hedvigkamp hedvigkamp changed the base branch from test-rebased-yocto-dunfell to original-dunfell November 2, 2021 13:25
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