Subject: [Boost-bugs] [Boost C++ Libraries] #2325: Use of tmpnam may produce spurious test results
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-14 09:45:33
#2325: Use of tmpnam may produce spurious test results
--------------------------+-------------------------------------------------
Reporter: dave | Owner: turkanis
Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: iostreams
Version: Boost 1.36.0 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
As described in
http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/avoid-
race.html,
tmpnam is subject to race conditions, which makes it especially bad for
use in
testing when testers are exploiting parallelism via threads or processes.
Several files in the library are using tmpnam when they should use
mkstemp.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2325> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC