[lldb-dev] [Bug 18134] New: tmpnam usage in Host.cpp should be replace by mkstemp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 4 06:16:38 PST 2013


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: lldb-dev at cs.uiuc.edu
          Reporter: sylvestre at debian.org
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131204/aefb8d58/attachment.html>


More information about the lldb-dev mailing list