Re: [PATCH] Use mkstemp instead of mktemp.

2014-06-10 Thread Theo de Raadt
And you tested to make sure that it works after your change? Fascinating. > mktemp was removed from POSIX 2008 for security reasons. > --- > usr.bin/nc/netcat.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c > index a034bba

Re: [PATCH] Use mkstemp instead of mktemp.

2014-06-10 Thread Brendan MacDonell
On Tue, Jun 10, 2014 at 7:32 PM, Dan Albert wrote: > mktemp was removed from POSIX 2008 for security reasons. > --- > usr.bin/nc/netcat.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c > index a034bba..d9e4ab4 100644 > --- a/