summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorPhilippe Sultan <philippe.sultan@gmail.com>2007-08-16 09:45:22 +0000
committerPhilippe Sultan <philippe.sultan@gmail.com>2007-08-16 09:45:22 +0000
commitbade686730d8dd1ffb8bd62e76bb1b4f482f3399 (patch)
treed5b2e1b1913b10bc7d42cd36a24902a821ec5382 /contrib
parenta3a32e667554e2bceda1ffb670a0165aed08a7fc (diff)
Merged revisions 79665 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79665 | phsultan | 2007-08-16 11:37:10 +0200 (Thu, 16 Aug 2007) | 21 lines A fix for two critical problems detected while working with Daniel McKeehan in issue #10184. Upon priority change, the resource list is not NULL terminated when moving an item to the end of the list. This makes Asterisk endlessy loop whenever it needs to read the list. Jids with different resource and priority values, like in Gmail's and GoogleTalk's jabber clients put that problem in evidence. Upon reception of a 'from' attribute with an empty resource string, Asterisk crashes when trying to access the found->cap pointer if the resource list for the given buddy is not empty. This situation is perfectly valid and must be handled. The Gizmoproject's jabber client put that problem in evidence. Also added a few comments in the code as well as a handle for the capabilities from Gmail's jabber client, which are stored in a caps:c tag rather than the usual c tag. Closes issue #10184. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions