[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:53:25 CST 2008
A NOTE has been added to this issue.
======================================================================
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:53 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.
======================================================================
----------------------------------------------------------------------
(0096417) svnbot (reporter) - 2008-12-15 15:53
http://bugs.digium.com/view.php?id=14080#c96417
----------------------------------------------------------------------
Repository: asterisk
Revision: 164519
U trunk/main/frame.c
------------------------------------------------------------------------
r164519 | russell | 2008-12-15 15:53:25 -0600 (Mon, 15 Dec 2008) | 7 lines
Make sure we handle a uint32_t payload in ast_frdup()
(closes issue http://bugs.digium.com/view.php?id=14080)
Reported by: fnordian
Patches:
frame.patch uploaded by fnordian (license 110)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=164519
Issue History
Date Modified Username Field Change
======================================================================
2008-12-15 15:53 svnbot Checkin
2008-12-15 15:53 svnbot Note Added: 0096417
======================================================================
More information about the asterisk-bugs
mailing list