[asterisk-bugs] [Asterisk 0016607]: [patch] ast_event_cmp always return 1.
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jan 15 14:41:13 CST 2010
The following issue has been RESOLVED.
======================================================================
https://issues.asterisk.org/view.php?id=16607
======================================================================
Reported By: ddv2005
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 16607
Category: Core/General
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Asterisk Version: 1.6.1.12
JIRA: SWP-733
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-01-14 14:39 CST
Last Modified: 2010-01-15 14:41 CST
======================================================================
Summary: [patch] ast_event_cmp always return 1.
Description:
ast_event_cmp always return 1 because it don't initialize ie_val.ie_pltype
on "match_ie_val" call. But match_ie_val use ie_pltype variable to
determinate payload type and if ie_pltype==0 (AST_EVENT_IE_PLTYPE_EXISTS)
then it assume that we required exist check only.
======================================================================
----------------------------------------------------------------------
(0116751) svnbot (reporter) - 2010-01-15 14:41
https://issues.asterisk.org/view.php?id=16607#c116751
----------------------------------------------------------------------
Repository: asterisk
Revision: 240411
U trunk/main/event.c
------------------------------------------------------------------------
r240411 | russell | 2010-01-15 14:41:12 -0600 (Fri, 15 Jan 2010) | 7 lines
Ensure payload type is properly checked when comparing against cached
events.
(closes issue https://issues.asterisk.org/view.php?id=16607)
Reported by: ddv2005
Patches:
event.patch uploaded by ddv2005 (license 769)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=240411
Issue History
Date Modified Username Field Change
======================================================================
2010-01-15 14:41 svnbot Note Added: 0116751
2010-01-15 14:41 svnbot Status ready for review =>
assigned
2010-01-15 14:41 svnbot Assigned To => russell
2010-01-15 14:41 svnbot Status assigned => resolved
2010-01-15 14:41 svnbot Resolution open => fixed
======================================================================
More information about the asterisk-bugs
mailing list