annotate mcabber/mcabber/help.h @ 2283:6e1ead98930d

Check origin of roster pushes MCabber is vulnerable to roster push attacks as described by Daniel Gultsch at https://gultsch.de/gajim_roster_push_and_message_interception.html. This patch should fix the problem by checking the sender of the iq:roster stanzas. Thanks to Sam Whited for the report.
author Mikael Berthe <mikael@lilotux.net>
date Mon, 21 Nov 2016 20:35:28 +0100
parents e6d355e50d7a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1668
41c26b7d2890 Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1205
diff changeset
1 #ifndef __MCABBER_HELP_H__
41c26b7d2890 Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1205
diff changeset
2 #define __MCABBER_HELP_H__ 1
868
cefdaeb42e67 Add online /help command
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
3
1678
e489ead6574a New help system
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1668
diff changeset
4 void free_help_dirs(void);
e489ead6574a New help system
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1668
diff changeset
5 void init_help_dirs(void);
e489ead6574a New help system
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1668
diff changeset
6 void help_process(char *string);
e489ead6574a New help system
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1668
diff changeset
7 void help_init(void);
868
cefdaeb42e67 Add online /help command
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
8
1668
41c26b7d2890 Install mcabber headers
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1205
diff changeset
9 #endif /* __MCABBER_HELP_H__ */
868
cefdaeb42e67 Add online /help command
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
10
1811
e6d355e50d7a Update Vim modelines
Mikael Berthe <mikael@lilotux.net>
parents: 1678
diff changeset
11 /* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2: For Vim users... */