[asterisk-bugs] [Asterisk 0014080]: [patch] ast_frdup does not duplicate integer-frame-data

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 15 15:41:36 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14080 
====================================================================== 
Reported By:                fnordian
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14080
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 164346 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-15 12:15 CST
Last Modified:              2008-12-15 15:41 CST
====================================================================== 
Summary:                    [patch] ast_frdup does not duplicate
integer-frame-data
Description: 
hi,
although frame.data is an enum and can be used as a ptr to a buffer and as
an integer, ast_frdup only copies frame-data, if it's a ptr (datalen > 0).

this causes e.g. that local_hangup hangup-causes don't get propagated.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-15 15:41 russell        Status                   new => assigned     
2008-12-15 15:41 russell        Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list