Re: [suse-sparc] tempnam vs. mkstemp

From: Klaus Kaempf (kkaempf@suse.de)
Date: Fri Jun 29 2001 - 02:28:03 PDT

  • Next message: Dave Nellans: "[suse-sparc] X86 iso's"

    From: Klaus Kaempf <kkaempf@suse.de>
    Date: Fri, 29 Jun 2001 11:28:03 +0200
    Message-Id: <0106291128030A.23719@heron>
    Subject: Re: [suse-sparc] tempnam vs. mkstemp
    

    On Friday 29 June 2001 09:22, Andre Belem wrote:
    > Hi Sparc Friends,
    >
    > I'm new in the list but cheking the archives didn't find any message
    > referent to the open.o problem in the libg2c.
    > I have a Sparc Ultra 60 runing SuSE 7.1 and my work is in scientific F77
    > programs. When I compile something I get the message:
    >
    > /usr/lib/gcc-lib/sparc-suse-linux/2.95.2/libg2c.a(open.o): In function
    > `f_open':open.o(.text+0x630): the use of `tempnam' is dangerous, better
    > use `mkstemp'
    >
    > Before with the old 7.0 system was no problem, and my programs still
    > work, but this message is not a nice thing to see. Does someone know
    > what is the problem ?
    >

    Using tempnam is a security risk. See "man tempnam" (the BUGS section).

    Klaus

    -- 
    To unsubscribe, e-mail: suse-sparc-unsubscribe@suse.com
    For additional commands, e-mail: suse-sparc-help@suse.com
    



    This archive was generated by hypermail 2.1.0 : Fri Jun 29 2001 - 02:27:21 PDT