stk: Make sure to reset respond_on_exit.
PATCH 1/1 stk: Make sure to reset respond_on_exit.
This fixes a crash spotted by Lasse Kunnasluoto documented at
http://lists.ofono.org/pipermail/ofono/2011-February/009211.html
--- src/stk.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
src/stk.c +1 -0
@@ -2514,6 +2514,7 @@ static void stk_proactive_command_cancel(struct ofono_stk *stk)stk_command_free (stk->pending_cmd); stk->pending_cmd =NULL ; stk->cancel_cmd =NULL ; + stk->respond_on_exit = FALSE; } }
Signature · 1 line
1.7.1.86.g0e460.dirty
Hi Andrew,
Quoted 6 lines · Andrzej Zaborowski
This fixes a crash spotted by Lasse Kunnasluoto documented at
http://lists.ofono.org/pipermail/ofono/2011-February/009211.html--- src/stk.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Patch has been applied, thanks.
Regards,
-Denis