Mercurial > pidgin
annotate libpurple/dbus-define-api.h @ 32796:5ae7e1f36b43
Fix a possible XMPP remote crash
A series of specially crafted file transfer requests can cause clients
to reference invalid memory. The user must have accepted one of the
file transfer requests.
The fix is to correctly cancel and free a SOCKS5 connection attempt so
that it does not trigger an attempt to access invalid memory later.
This was reported to us by Jos«± Valent«żn Guti«±rrez and this patch is
written by Paul Aurich.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 07 May 2012 03:16:31 +0000 |
parents | 32c366eeeb99 |
children |
rev | line source |
---|---|
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 #error "This is file is not a valid C code" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
3 /* This file contains some of the macros from other header files as |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
4 function declarations. This does not make sense in C, but it |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 provides type information for the dbus-analyze-functions.py |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
6 program, which makes these macros callable by DBUS. */ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
8 /* blist.h */ |
15822 | 9 gboolean PURPLE_BLIST_NODE_IS_CHAT(PurpleBlistNode *node); |
10 gboolean PURPLE_BLIST_NODE_IS_BUDDY(PurpleBlistNode *node); | |
11 gboolean PURPLE_BLIST_NODE_IS_CONTACT(PurpleBlistNode *node); | |
12 gboolean PURPLE_BLIST_NODE_IS_GROUP(PurpleBlistNode *node); | |
13 gboolean PURPLE_BUDDY_IS_ONLINE(PurpleBuddy *buddy); | |
14 gboolean PURPLE_BLIST_NODE_HAS_FLAG(PurpleBlistNode *node, int flags); | |
15 gboolean PURPLE_BLIST_NODE_SHOULD_SAVE(PurpleBlistNode *node); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
16 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
17 /* connection.h */ |
15822 | 18 gboolean PURPLE_CONNECTION_IS_CONNECTED(PurpleConnection *connection); |
19 gboolean PURPLE_CONNECTION_IS_VALID(PurpleConnection *connection); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
20 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 /* conversation.h */ |
15822 | 22 PurpleConvIm *PURPLE_CONV_IM(const PurpleConversation *conversation); |
23 PurpleConvIm *PURPLE_CONV_CHAT(const PurpleConversation *conversation); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
24 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 |