0
Files
src/sandbox
Ivan Afanasyev cea7267b65 fix race in HandleLocalTime function
|HandleLocalTime| uses |localtime| in the assumption that sandbox
handler process is single-threaded. This assumption is not correct
anymore. See |SandboxHostLinux::Init| and |ipc_thread_|.

The proposed fix is to replace unsafe |localtime| function call with
threadsafe |localtime_r| posix equivalent.

Change-Id: I20c9576557df414b19c30c51ba233f62cfb8be28
Reviewed-on: https://chromium-review.googlesource.com/1111704
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Commit-Queue: Иван Афанасьев <ivafanas@yandex-team.ru>
Cr-Commit-Position: refs/heads/master@{#569963}
2018-06-25 04:23:37 +00:00
..