gnome-vfs r5551 - in trunk: . modules
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-vfs r5551 - in trunk: . modules
- Date: Thu, 16 Apr 2009 09:07:06 +0000 (UTC)
Author: alexl
Date: Thu Apr 16 09:07:05 2009
New Revision: 5551
URL: http://svn.gnome.org/viewvc/gnome-vfs?rev=5551&view=rev
Log:
2009-04-16 Alexander Larsson <alexl redhat com>
Bug 500307 â uninitialized GnomeVFSFileInfo struct in do_seek()
* modules/sftp-method.c:
(do_seek):
Initialize info to avoid crashes.
Patch from Fabrice Bellet
Modified:
trunk/ChangeLog
trunk/modules/sftp-method.c
Modified: trunk/modules/sftp-method.c
==============================================================================
--- trunk/modules/sftp-method.c (original)
+++ trunk/modules/sftp-method.c Thu Apr 16 09:07:05 2009
@@ -2387,7 +2387,7 @@
GnomeVFSContext *context)
{
SftpOpenHandle *handle;
- GnomeVFSFileInfo file_info;
+ GnomeVFSFileInfo file_info = { 0, };
GnomeVFSResult res;
DEBUG (g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s: Enter", G_STRFUNC));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]