evolution-data-server r8357 - in trunk/servers/exchange: . lib
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8357 - in trunk/servers/exchange: . lib
- Date: Sat, 12 Jan 2008 10:20:13 +0000 (GMT)
Author: sragavan
Date: Sat Jan 12 10:20:13 2008
New Revision: 8357
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8357&view=rev
Log:
2008-01-12 Srinivasa Ragavan <sragavan novell com>
** Fix for bug #361972
* lib/e2k-context.c: (e2k_context_fba): No point crashing if the
action is not recognised by soup. So if the message is null return.
Modified:
trunk/servers/exchange/ChangeLog
trunk/servers/exchange/lib/e2k-context.c
Modified: trunk/servers/exchange/lib/e2k-context.c
==============================================================================
--- trunk/servers/exchange/lib/e2k-context.c (original)
+++ trunk/servers/exchange/lib/e2k-context.c Sat Jan 12 10:20:13 2008
@@ -646,6 +646,9 @@
"application/x-www-form-urlencoded",
SOUP_BUFFER_SYSTEM_OWNED,
form_body->str, form_body->len);
+ if (!post_msg)
+ goto failed;
+
soup_message_set_flags (post_msg, SOUP_MESSAGE_NO_REDIRECT);
e2k_context_send_message (ctx, NULL /* FIXME? */, post_msg);
g_string_free (form_body, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]