From 67e822293432c2c891c3e24f4d06071676b151db Mon Sep 17 00:00:00 2001 From: drahn Date: Mon, 6 May 2002 20:51:19 +0000 Subject: [PATCH] Avoid calls to insecure choose_temp_base, ok fgsch@ --- .../stable/patches/patch-binutils_dlltool_c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 devel/binutils/stable/patches/patch-binutils_dlltool_c diff --git a/devel/binutils/stable/patches/patch-binutils_dlltool_c b/devel/binutils/stable/patches/patch-binutils_dlltool_c new file mode 100644 index 00000000000..4cadd5d9960 --- /dev/null +++ b/devel/binutils/stable/patches/patch-binutils_dlltool_c @@ -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); +