[Home]

Summary:ASTERISK-15431: [patch] ast_event_cmp always return 1.
Reporter:Dmitry Dudkin (ddv2005)Labels:
Date Opened:2010-01-14 14:39:39.000-0600Date Closed:2011-01-29 16:25:36.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) event.patch
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.
Comments:By: Digium Subversion (svnbot) 2010-01-15 14:41:13.000-0600

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 ASTERISK-15431)
Reported by: ddv2005
Patches:
     event.patch uploaded by ddv2005 (license 769)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=240411

By: Digium Subversion (svnbot) 2010-01-15 14:43:33.000-0600

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 ASTERISK-15431)
 Reported by: ddv2005
 Patches:
       event.patch uploaded by ddv2005 (license 769)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=240412

By: Digium Subversion (svnbot) 2010-01-15 14:46:19.000-0600

Repository: asterisk
Revision: 240413

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

------------------------------------------------------------------------
r240413 | russell | 2010-01-15 14:46:19 -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 ASTERISK-15431)
 Reported by: ddv2005
 Patches:
       event.patch uploaded by ddv2005 (license 769)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=240413