- Backported patch to fix bug #167985

f38
John (J5) Palmieri 19 years ago
parent d7d7c9396d
commit 91939ef4e4

@ -0,0 +1,21 @@
diff -ur gnome-vfs-2.12.0/libgnomevfs/gnome-vfs-hal-mounts.c gnome-vfs/libgnomevfs/gnome-vfs-hal-mounts.c
--- gnome-vfs-2.12.0/libgnomevfs/gnome-vfs-hal-mounts.c 2005-09-05 04:19:11.000000000 -0400
+++ gnome-vfs/libgnomevfs/gnome-vfs-hal-mounts.c 2005-09-08 14:48:28.000000000 -0400
@@ -1508,7 +1508,7 @@
GnomeVFSDrive *result;
LibHalContext *hal_ctx;
LibHalDrive *hal_drive;
- char path[PATH_MAX] = "/dev/";
+ char path[PATH_MAX + 5] = "/dev/";
char *target = path + 5;
int ret;
@@ -1562,7 +1562,7 @@
GnomeVFSVolume *result;
LibHalContext *hal_ctx;
LibHalDrive *hal_drive;
- char path[PATH_MAX] = "/dev/";
+ char path[PATH_MAX + 5] = "/dev/";
char *target = path + 5;
int ret;

@ -9,7 +9,7 @@
Summary: The GNOME virtual file-system libraries.
Name: gnome-vfs2
Version: 2.12.0
Release: 1
Release: 2
License: LGPL
Group: System Environment/Libraries
Source0: gnome-vfs-%{version}.tar.bz2
@ -48,6 +48,8 @@ Patch201: gnome-vfs-2.8.1-console-mount-opt.patch
# Bug 150132
Patch400: neon-0.24.7-gssapi.patch
Patch500: gnome-vfs-2.12.0-readlink-buffer.patch
%description
GNOME VFS is the GNOME virtual file system. It is the foundation of
the Nautilus file manager. It provides a modular architecture and
@ -94,6 +96,8 @@ shares (SMB) to applications using GNOME VFS.
%patch400 -p0 -b .neon-gssapi
%patch500 -p1 -b .readlink-buffer
%build
if pkg-config openssl ; then
@ -171,6 +175,9 @@ done
%config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf
%changelog
* Tue Sep 27 2005 John (J5) Palmieir <johnp@redhat.com> 2.12.0-2
- Backported patch to fix bug #167985
* Wed Sep 7 2005 Matthias Clasen <mclasen@redhat.com> 2.12.0-1
- Update to 2.12.0
- Drop upstreamed patches

Loading…
Cancel
Save