Summary: | ASTERISK-07471: [patch] setting usetls and usesasl to no result in a segfault | ||
Reporter: | Clod Patry (junky) | Labels: | |
Date Opened: | 2006-08-06 19:28:35 | Date Closed: | 2006-08-08 12:14:21 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_jabber |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) tls_sasl.txt | |
Description: | But if you use: [...] usetls=yes usesasl=yes [...] instead, everything is okay. ****** ADDITIONAL INFORMATION ****** i just test the node with: ndex: res/res_jabber.c =================================================================== --- res/res_jabber.c (revision 39048) +++ res/res_jabber.c (working copy) @@ -440,6 +440,10 @@ ikspak *pak = NULL; iks *auth = NULL; + if ( !node) { + ast_log(LOG_WARNING, "node is NULL\n"); + return IKS_HOOK; + } pak = iks_packet(node); if (client->component == AJI_CLIENT) { and i had no more segfault, but dunno what to return exactly. In attachment is the bt, just in case, it's needed by someone. | ||
Comments: | By: Matt O'Gorman (mogorman) 2006-08-08 12:14:21 Committed revision 39351. it segfaults not because of those options because your server was disconnecting you throwing an error, probably beacause it does not support nonsasl or not tls connection. anyways its fixed thanks junk-y |