aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-operations.h
diff options
context:
space:
mode:
authorTobias Mueller <tobiasmue@svn.gnome.org>2007-12-13 07:08:15 +0800
committerTobias Mueller <tobiasmue@src.gnome.org>2007-12-13 07:08:15 +0800
commit75b76dedf1257789ca2d5c74af363606928fbc6a (patch)
tree64806640cac8c7aeae3619fbce6435a3f3d9d12f /plugins/exchange-operations/exchange-operations.h
parentdf0dfc753e3165dff397a6aff2431735471260c4 (diff)
downloadgsoc2013-evolution-75b76dedf1257789ca2d5c74af363606928fbc6a.tar
gsoc2013-evolution-75b76dedf1257789ca2d5c74af363606928fbc6a.tar.gz
gsoc2013-evolution-75b76dedf1257789ca2d5c74af363606928fbc6a.tar.bz2
gsoc2013-evolution-75b76dedf1257789ca2d5c74af363606928fbc6a.tar.lz
gsoc2013-evolution-75b76dedf1257789ca2d5c74af363606928fbc6a.tar.xz
gsoc2013-evolution-75b76dedf1257789ca2d5c74af363606928fbc6a.tar.zst
gsoc2013-evolution-75b76dedf1257789ca2d5c74af363606928fbc6a.zip
Patch by evilninjasquirrel@hotbrev.com
2007-12-13 Tobias Mueller <tobiasmue@svn.gnome.org> Patch by evilninjasquirrel@hotbrev.com ** Fixes bug 474043 * plugins/exchange-operations/exchange-operations.c: * plugins/exchange-operations/exchange-operations.h Prevent buffer overflows, by introducing a fourth parameter to exchange_operations_tokenize_string - a max size to copy svn path=/trunk/; revision=34692
Diffstat (limited to 'plugins/exchange-operations/exchange-operations.h')
-rw-r--r--plugins/exchange-operations/exchange-operations.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/exchange-operations/exchange-operations.h b/plugins/exchange-operations/exchange-operations.h
index 1648661fca..e64080c3d7 100644
--- a/plugins/exchange-operations/exchange-operations.h
+++ b/plugins/exchange-operations/exchange-operations.h
@@ -42,7 +42,7 @@ int e_plugin_lib_enable (EPluginLib *eplib, int enable);
ExchangeAccount *exchange_operations_get_exchange_account (void);
ExchangeConfigListenerStatus exchange_is_offline (gint *mode);
-gboolean exchange_operations_tokenize_string (char **string, char *token, char delimit);
+gboolean exchange_operations_tokenize_string (char **string, char *token, char delimit, unsigned int maxsize);
gboolean exchange_operations_cta_add_node_to_tree (GtkTreeStore *store, GtkTreeIter *parent, const char *nuri);
void exchange_operations_cta_select_node_from_tree (GtkTreeStore *store, GtkTreeIter *parent, const char *nuri, const char *ruri, GtkTreeSelection *selection) ;