@@ -, +, @@ std::vector::clear() --- src/Platform/Unix/Process.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) --- a/src/Platform/Unix/Process.cpp +++ a/src/Platform/Unix/Process.cpp @@ -118,11 +118,7 @@ namespace VeraCrypt throw_sys_if (fcntl (errPipe.GetReadFD(), F_SETFL, O_NONBLOCK) == -1); throw_sys_if (fcntl (exceptionPipe.GetReadFD(), F_SETFL, O_NONBLOCK) == -1); - vector buffer (4096), stdOutput (4096), errOutput (4096), exOutput (4096); - buffer.clear (); - stdOutput.clear (); - errOutput.clear (); - exOutput.clear (); + vector buffer (4096, 0), stdOutput (4096, 0), errOutput (4096, 0), exOutput (4096, 0); Poller poller (outPipe.GetReadFD(), errPipe.GetReadFD(), exceptionPipe.GetReadFD()); int status, waitRes; --