Module: kamailio Branch: master Commit: b672d8ef63715cf816390a05ce7a441377c3e468 URL: https://github.com/kamailio/kamailio/commit/b672d8ef63715cf816390a05ce7a4413...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-09-06T11:13:16+02:00
tm: reset T_ASYNC_CONTINUE once t_continue() callback is executed
- by having it still set, the reply field was not reset, causing to free an invalid pointer when transaction was destroyed, reported by Vitaliy Aleksandrov - set reply of suspended request branch to FAKED_REPLY on continue, the code was already set to 500 - make it coherent with the local replied transactions - reset cloned reply under lock for suspended reply branch and free it later via backup pointer - safer if someone risks to access the suspended reply branch (should happen now, just future proof)
---
Modified: src/modules/tm/t_suspend.c
---
Diff: https://github.com/kamailio/kamailio/commit/b672d8ef63715cf816390a05ce7a4413... Patch: https://github.com/kamailio/kamailio/commit/b672d8ef63715cf816390a05ce7a4413...