Support #426

auto-buffer deallocation during the service processing

Added by Madars over 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:07/01/2019
Priority:Normal (Code 4)Due date:
Assignee:-% Done:


Target version:-


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.


#1 Updated by Madars over 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100


#2 Updated by Madars about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF