asterisk/res
Philippe Sultan bade686730 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
2007-08-16 09:45:22 +00:00
..
ael This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files. 2007-08-15 19:21:27 +00:00
snmp Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second 2007-07-18 19:47:20 +00:00
Makefile This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files. 2007-08-15 19:21:27 +00:00
res_adsi.c Add a massive set of changes for converting to use the ast_debug() macro. 2007-06-14 19:39:12 +00:00
res_ael_share.c This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files. 2007-08-15 19:21:27 +00:00
res_agi.c Twould help if we actually defined ->mod before comparing against it (reported and fixed by Juggie via IRC). 2007-08-01 04:36:15 +00:00
res_clioriginate.c (closes issue #10271) 2007-07-23 14:32:04 +00:00
res_config_odbc.c Merged revisions 78488 via svnmerge from 2007-08-07 21:00:10 +00:00
res_config_pgsql.c Do a massive conversion for using the ast_verb() macro 2007-07-26 15:49:18 +00:00
res_config_sqlite.c (closes issue #10271) 2007-07-23 14:32:04 +00:00
res_convert.c (closes issue #10271) 2007-07-23 14:32:04 +00:00
res_crypto.c Add another big set of doxygen documentation improvements from snuffy. 2007-08-07 23:04:01 +00:00
res_features.c Merged revisions 79397 via svnmerge from 2007-08-14 15:30:03 +00:00
res_indications.c (closes issue #10271) 2007-07-23 14:32:04 +00:00
res_jabber.c Merged revisions 79665 via svnmerge from 2007-08-16 09:45:22 +00:00
res_limit.c Fix building under Solaris. 2007-07-02 20:27:28 +00:00
res_monitor.c Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too. 2007-07-31 01:10:47 +00:00
res_musiconhold.c Modify the names of functions/variables in res_musiconhold to be useful. 2007-08-15 22:53:45 +00:00
res_odbc.c Only use the sanitysql if it's not zero-len 2007-08-13 21:44:22 +00:00
res_realtime.c It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it. 2007-07-16 13:35:20 +00:00
res_smdi.c Do a massive conversion for using the ast_verb() macro 2007-07-26 15:49:18 +00:00
res_snmp.c Do a massive conversion for using the ast_verb() macro 2007-07-26 15:49:18 +00:00
res_speech.c Merged revisions 79334 via svnmerge from 2007-08-13 21:59:15 +00:00