You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnome-vfs2/gnome-vfs-2.12.0-readlink-b...

22 lines
703 B

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;