diff options
author | Russell Bryant <russell@russellbryant.com> | 2010-01-15 20:41:11 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2010-01-15 20:41:11 +0000 |
commit | 86c57df84e803d08f6a7a02b80557dff7f33bbfa (patch) | |
tree | a7b721bb5c1022a42920f0a72296aa72bbedd613 /main/event.c | |
parent | e612d87695ec794059dfe3fc0021bd11a331713d (diff) |
Ensure payload type is properly checked when comparing against cached events.
(closes issue #16607)
Reported by: ddv2005
Patches:
event.patch uploaded by ddv2005 (license 769)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@240411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/event.c')
-rw-r--r-- | main/event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/event.c b/main/event.c index cc2efe961..7f29783b9 100644 --- a/main/event.c +++ b/main/event.c @@ -1482,6 +1482,7 @@ static int ast_event_cmp(void *obj, void *arg, int flags) for (i = 0; i < ARRAY_LEN(ast_event_cache[0].cache_args) && cache_args[i]; i++) { struct ast_event_ie_val ie_val = { + .ie_pltype = ast_event_get_ie_pltype(cache_args[i]), .ie_type = cache_args[i], }; |