Support #426

auto-buffer deallocation during the service processing

Added by Madars over 4 years ago. Updated over 4 years ago.

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

100%

Category:-
Target version:-

Description

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.

History

#1 Updated by Madars over 4 years ago

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

6.1.0+

#2 Updated by Madars over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF