Race condition in cairo-trace
Submitted by Seongwon Cho
Assigned to Carl Worth @cworth
Description
There is a race condition in _init_logfile() in trace.c
If a application fork and execute child process by execl() value of CAIRO_TRACE_FD is also duplicated and the value of CAIRO_TRACE_FD will be -1 in child process.
In that case child process doesn,t create new log file and we can,t get trace file of child process.
Thanks.
Version: 1.12.2