[Asterisk-code-review] channel: Hang-up crashed Asterisk while freeing private data. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Sun Aug 28 04:27:55 CDT 2016


Hello Richard Mudgett, Anonymous Coward #1000019,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/3724

to look at the new patch set (#2).

Change subject: channel: Hang-up crashed Asterisk while freeing private data.
......................................................................

channel: Hang-up crashed Asterisk while freeing private data.

Private data of each channel driver is an opaque structure. Some channel drivers
use ast_malloc, some drivers use reference counting. To avoid any crash, this
private data is not released at this place in source code anymore. The general
channel driver cannot do this. Instead, you should investigate why your call was
not hung up, because reaching that code section indicates a software bug.

ASTERISK-26306 #close

Change-Id: Id085417d7e0a5c61382582e7d250b56ab3c00a1b
---
M main/channel.c
1 file changed, 7 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/24/3724/2
-- 
To view, visit https://gerrit.asterisk.org/3724
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id085417d7e0a5c61382582e7d250b56ab3c00a1b
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list