diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-09 07:23:22 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-09 07:23:22 +0800 |
commit | 7567f5f81bdea1a14cc6146fdb94b14d0ba6b499 (patch) | |
tree | 7699f239616548b6f0270944d691c1eae15d1e8b /devel/gnomevfs2/files | |
parent | 571b4d6e3f48fc38b3f99f6b4cd5d3f5980dc076 (diff) | |
download | marcuscom-ports-7567f5f81bdea1a14cc6146fdb94b14d0ba6b499.tar marcuscom-ports-7567f5f81bdea1a14cc6146fdb94b14d0ba6b499.tar.gz marcuscom-ports-7567f5f81bdea1a14cc6146fdb94b14d0ba6b499.tar.bz2 marcuscom-ports-7567f5f81bdea1a14cc6146fdb94b14d0ba6b499.tar.lz marcuscom-ports-7567f5f81bdea1a14cc6146fdb94b14d0ba6b499.tar.xz marcuscom-ports-7567f5f81bdea1a14cc6146fdb94b14d0ba6b499.tar.zst marcuscom-ports-7567f5f81bdea1a14cc6146fdb94b14d0ba6b499.zip |
Be sure to zero out the ISO header structure to prevent corrupt CD-ROM
volume names.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1416 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnomevfs2/files')
-rw-r--r-- | devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-cdrom.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-cdrom.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-cdrom.c new file mode 100644 index 000000000..86a5fd9ab --- /dev/null +++ b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-cdrom.c @@ -0,0 +1,11 @@ +--- libgnomevfs/gnome-vfs-cdrom.c.orig Mon Dec 8 18:20:28 2003 ++++ libgnomevfs/gnome-vfs-cdrom.c Mon Dec 8 18:12:46 2003 +@@ -165,6 +165,8 @@ + struct iso_primary_descriptor iso_buffer; + int offset; + ++ bzero (&iso_buffer, sizeof(struct iso_primary_descriptor)); ++ + #ifdef __linux__ + offset = get_iso9660_volume_name_data_track_offset (fd); + #else |