The user data (pending reply) can be null if agent returns
an error. In this case do not overwrite the real pending reply.
---
Hi,

this should fix the problem Gustavo reported.

Gustavo, could you try this one and ack/nack if this works
ok for you?

Cheers,
Jukka


 src/service.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/service.c b/src/service.c
index 72f5af4..fdd59d5 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3445,6 +3445,9 @@ void __connman_service_set_hidden_data(struct 
connman_service *service,
 
        DBG("service %p pending %p", service, pending);
 
+       if (pending == NULL)
+               return;
+
        check_pending_msg(service);
 
        service->pending = pending;
-- 
1.7.9.5

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to