Avoid calls to insecure choose_temp_base, ok fgsch@
This commit is contained in:
parent
2102f9abb0
commit
67e8222934
15
devel/binutils/stable/patches/patch-binutils_dlltool_c
Normal file
15
devel/binutils/stable/patches/patch-binutils_dlltool_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-binutils_dlltool_c,v 1.1 2002/05/06 20:51:19 drahn Exp $
|
||||
--- binutils/dlltool.c.orig Mon May 6 15:28:21 2002
|
||||
+++ binutils/dlltool.c Mon May 6 15:28:54 2002
|
||||
@@ -1125,7 +1125,11 @@ run (what, args)
|
||||
int i;
|
||||
const char **argv;
|
||||
char *errmsg_fmt, *errmsg_arg;
|
||||
+#if defined(__MSDOS__) && !defined(__GO32__)
|
||||
char *temp_base = choose_temp_base ();
|
||||
+#else
|
||||
+ char *temp_base = NULL;
|
||||
+#endif
|
||||
|
||||
inform ("run: %s %s", what, args);
|
||||
|
Loading…
Reference in New Issue
Block a user