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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 15 12:16:31 CST 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14080 
====================================================================== 
Reported By:                fnordian
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14080
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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 12:16 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 12:16 fnordian       Summary                  ast_frdup does not
duplicate integer-frame-data => [patch] ast_frdup does not duplicate
integer-frame-data
======================================================================




More information about the asterisk-bugs mailing list