[asterisk-bugs] [Asterisk 0016607]: [patch] ast_event_cmp always return 1.

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 15 14:43:33 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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:43 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0116752) svnbot (reporter) - 2010-01-15 14:43
 https://issues.asterisk.org/view.php?id=16607#c116752 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 240412

_U  branches/1.6.1/
U   branches/1.6.1/main/event.c

------------------------------------------------------------------------
r240412 | russell | 2010-01-15 14:43:32 -0600 (Fri, 15 Jan 2010) | 14
lines

Merged revisions 240411 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240411 | russell | 2010-01-15 14:41:11 -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=240412 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-15 14:43 svnbot         Note Added: 0116752                          
======================================================================




More information about the asterisk-bugs mailing list