http://llvm.org/bugs/show_bug.cgi?id=18134

            Bug ID: 18134
           Summary: tmpnam usage in Host.cpp should be replace by mkstemp
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

At least under GNU/Linux, tmpnam is consider as dangerous.
It should be replaced by mkstemp as stated in the warning message (from ld)

source/Host/common/Host.cpp:1460: warning: the use of `tmpnam' is dangerous,
better use `mkstemp'

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to