auto-buffer deallocation during the service processing
There might be scenarios for example:
- service receives call
- service performs conversational work (which includes NULL buffer traffic)
- client sends server NULL buffer
- the NULL buffer deallocates original buffer
- and currently at return we will attempt to deallocate this auto buffer (thus get memory corruption).
The proposed fix will reset the auto-buffer with tpfree.
This means that after receiving NULL buffer and allocating some other buffer, user is responsible of doint tpfree with it or do the tpreturn.