Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/auth.c @ 18861:54e020a8b6b9
Fix null pointer deref when confirming authentication over unencrypted connection. Fixes #2493.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 10 Aug 2007 13:28:12 +0000 |
parents | 5033139b3ead |
children | 47942d19f301 |
comparison
equal
deleted
inserted
replaced
18860:0a8dc9eb4f8e | 18861:54e020a8b6b9 |
---|---|
294 char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), | 294 char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), |
295 js->gc->account->username); | 295 js->gc->account->username); |
296 purple_request_yes_no(js->gc, _("Plaintext Authentication"), | 296 purple_request_yes_no(js->gc, _("Plaintext Authentication"), |
297 _("Plaintext Authentication"), | 297 _("Plaintext Authentication"), |
298 msg, | 298 msg, |
299 2, js->gc->account, NULL, NULL, NULL, | 299 2, js->gc->account, NULL, NULL, js->gc->account, |
300 allow_cyrus_plaintext_auth, | 300 allow_cyrus_plaintext_auth, |
301 disallow_plaintext_auth); | 301 disallow_plaintext_auth); |
302 g_free(msg); | 302 g_free(msg); |
303 return; | 303 return; |
304 /* Everything else has failed, so fail the | 304 /* Everything else has failed, so fail the |