mktemp(1) to avoid symlink vulnerabilities in tmp file/directory creation/removal (mitre.org CVE-2008-4936). Named 1.1.36nb1 to emphasize difference from upstream. Commit ok'd by agc@.
13 lines
357 B
Text
13 lines
357 B
Text
$NetBSD: patch-ah,v 1.5 2009/10/02 19:21:59 is Exp $
|
|
|
|
--- getdisk.c.orig 2004-11-08 21:10:27.000000000 +0100
|
|
+++ getdisk.c
|
|
@@ -95,7 +95,7 @@
|
|
#endif
|
|
|
|
/* imported from NetBSD pkgsrc */
|
|
-#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
|
|
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900)
|
|
#undef BSDSTATFS
|
|
#define SVR4
|
|
#endif
|