evolution-data-server r8586 - branches/gnome-2-22/servers/groupwise trunk/servers/groupwise
- From: utx svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8586 - branches/gnome-2-22/servers/groupwise trunk/servers/groupwise
- Date: Wed, 26 Mar 2008 15:32:29 +0000 (GMT)
Author: utx
Date: Wed Mar 26 15:32:28 2008
New Revision: 8586
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8586&view=rev
Log:
Use correct type for g_base64_decode to fix stack corruption on x86_64 (#522389).
Modified:
branches/gnome-2-22/servers/groupwise/ChangeLog
branches/gnome-2-22/servers/groupwise/e-gw-connection.c
trunk/servers/groupwise/ChangeLog
trunk/servers/groupwise/e-gw-connection.c
Modified: branches/gnome-2-22/servers/groupwise/e-gw-connection.c
==============================================================================
--- branches/gnome-2-22/servers/groupwise/e-gw-connection.c (original)
+++ branches/gnome-2-22/servers/groupwise/e-gw-connection.c Wed Mar 26 15:32:28 2008
@@ -2645,7 +2645,7 @@
}
if (buffer && buf_length) {
- int len = atoi (buf_length) ;
+ gsize len = atoi (buf_length) ;
*attachment = g_base64_decode (buffer,&len) ;
*attach_length = len ;
}
Modified: trunk/servers/groupwise/e-gw-connection.c
==============================================================================
--- trunk/servers/groupwise/e-gw-connection.c (original)
+++ trunk/servers/groupwise/e-gw-connection.c Wed Mar 26 15:32:28 2008
@@ -2694,7 +2694,7 @@
}
if (buffer && buf_length) {
- int len = atoi (buf_length) ;
+ gsize len = atoi (buf_length) ;
*attachment = g_base64_decode (buffer,&len) ;
*attach_length = len ;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]