CVE-2007-5718, some crashes, and introduces and fixes largefile issues. Changes since vobcopy-0.5.14: - Fixed operation on GNU libcized BSD variants. - Fixed compilation under MacOS 10. - Fixed CVE-2007-5718 (insecure temporary file creation). - Fixed segfault in the logging routine. - Fixed Makefile for gcc versions not equal to 3.4. - Choose the right dvd device from fstab. - Read only as many blocks as there are actually left. - Partial fix for detection of full nfs files. - Fixed double space detection on MacOSX, hopefully... - sprintf fixes. - -D_FORTIFY_SOURCE=2 is strange, 3 bytes won't fit into a char[4] then. Well, they fit into char[8]... - The configure.sh script now also detects if the system is an ia64/AMD64 and uses the lib64 directory accordingly. - Added checks for return values from library calls. - Added some code to make -n and -m mutually exclusive. - The size-checking code with -m was broken. Fixed hopefully. - Typo in the manpage. - With -m, if files exist you now have the option to [s]kip the files already present. - Some dvd's show files ending in ";?", they should now work.
13 lines
497 B
Text
13 lines
497 B
Text
$NetBSD: patch-ab,v 1.6 2008/07/13 16:14:00 tonnerre Exp $
|
|
|
|
--- dvd.c.orig 2008-02-19 06:27:04.000000000 +0100
|
|
+++ dvd.c
|
|
@@ -166,7 +166,7 @@ int get_device( char *path, char *device
|
|
if( !strcmp( path, buf.f_mntonname ) )
|
|
{
|
|
mounted = TRUE;
|
|
-#if defined(__FreeBSD__) && (__FreeBSD_Version > 500000)
|
|
+#if defined(__DragonFly__) || (defined(__FreeBSD__) && (__FreeBSD_Version > 500000))
|
|
strcpy(device, buf.f_mntfromname);
|
|
#else
|
|
strcpy(device, "/dev/r");
|