[kamailio/kamailio] presence: fix crush if dialog id is NULL (#817)
- check dialog_id is not NULL before call delete_presentity_if_dialog_id_exists sometimes after check_if_dialog(str body, int *is_dialog, char **dialog_id) it is possible is_dialog==1 dialog_id==NULL #0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:260 #1 0x00007feb2e446603 in delete_presentity_if_dialog_id_exists (presentity=0x7feb545c8ca8, dialog_id=0x0) at presentity.c:419 You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/817 -- Commit Summary -- * presence: fix crush if dialog id is NULL -- File Changes -- M modules/presence/presentity.c (2) -- Patch Links -- https://github.com/kamailio/kamailio/pull/817.patch https://github.com/kamailio/kamailio/pull/817.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/817
Thanks! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/817#issuecomment-252549020
Merged #817. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/817#event-817643956
participants (2)
-
Daniel-Constantin Mierla -
Dmitri Savolainen