Resolve an invalid memory read on an event.
authorRussell Bryant <russell@russellbryant.com>
Wed, 9 Jun 2010 21:11:43 +0000 (21:11 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 9 Jun 2010 21:11:43 +0000 (21:11 +0000)
commit05c46771ca08018a023a22c469747cdfd19e7d95
tree667e0e9d107d99cda2847ed7af98649a60791345
parent9aafd4c6b1d0fc0d18f5c064b3d062fc98833694
Resolve an invalid memory read on an event.

Valgrind pointed out that attempting to get an IE value from an event that has
no IEs produces an invalid memory read past the end of the event.  Thanks to
mmichelson for pointing the problem out to me and then testing the fix.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/event.h
main/event.c