id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5734,possible handle leak in posix implementation copy_file_api,alexey.kutumov@…,Beman Dawes,"There is possible handle leak in POSIX implementation of function '''copy_file_api'''. {{{ ... if ((infile = ::open(from_p.c_str(), O_RDONLY))< 0) { return false; } struct stat from_stat; if (::stat(from_p.c_str(), &from_stat)!= 0) { return false; } ... }}} if '''::stat''' failed, then function exits without closing '''infile''' handle. This problem exists both in '''v3''' and '''v2''' implementations of filesystem. Also this problem exists in previous releases. ",Bugs,assigned,Boost 1.48.0,filesystem,Boost 1.47.0,Problem,,filesystem copy_file,