evolution-data-server r8539 - trunk/servers/groupwise
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8539 - trunk/servers/groupwise
- Date: Fri, 29 Feb 2008 06:14:41 +0000 (GMT)
Author: sragavan
Date: Fri Feb 29 06:14:40 2008
New Revision: 8539
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8539&view=rev
Log:
2008-02-29 Srinivasa Ragavan <sragavan novell com>
** Fix for bug #359944
* e-gw-connection.c: (e_gw_connection_get_attachment_base64): Incase
the input string is null, handle it safe. Reviewed by Sankar.
Modified:
trunk/servers/groupwise/ChangeLog
trunk/servers/groupwise/e-gw-connection.c
Modified: trunk/servers/groupwise/e-gw-connection.c
==============================================================================
--- trunk/servers/groupwise/e-gw-connection.c (original)
+++ trunk/servers/groupwise/e-gw-connection.c Fri Feb 29 06:14:40 2008
@@ -2716,7 +2716,10 @@
int len = atoi (buf_length) ;
*attachment = g_strdup (buffer);
*attach_length = len;
- *offset_r = atoi (o_return);
+ if (len && o_return)
+ *offset_r = atoi (o_return);
+ else
+ *offset_r = 0;
}
/* free memory */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]