linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] [PATCH 1/3] Fix NULL pointer dereference when proc


From: Thierry Reding
Subject: [Linphone-developers] [PATCH 1/3] Fix NULL pointer dereference when processing call.
Date: Tue, 15 Nov 2011 15:57:48 +0100

This commit fixes a potential NULL pointer dereference introduced by
the conversion in commit d8adfcf296d72a2a755779a090fd04f6d60e26a8.
---
 coreapi/linphonecall.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c
index 0310ec6..b105f2b 100644
--- a/coreapi/linphonecall.c
+++ b/coreapi/linphonecall.c
@@ -1531,7 +1531,7 @@ void linphone_call_background_tasks(LinphoneCall *call, 
bool_t one_second_elapse
                // mediastreamer queue.
                audio_stream_iterate(call->audiostream);
 
-               if (call->audiostream->evq){
+               if (call->audiostream_app_evq){
                        OrtpEvent *ev;
                        while (NULL != 
(ev=ortp_ev_queue_get(call->audiostream_app_evq))){
                                OrtpEventType evt=ortp_event_get_type(ev);
-- 
1.7.7.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]