RootCauseunvalidated

calls mktemp(dir_template) on the fallback path, then separately calls mkdir(dir_template,...) — in gold/plugin.cc::Plugin_recorder::init(). Tension: The issue is the classic TOCTOU pattern around mktemp + mkdir. Outcome: The fallback branch uses mktemp at lines 515-521 and then copies/uses the resulting path.

7110058c-10b1-4624-929c-0ad6e09b0534

calls mktemp(dir_template) on the fallback path, then separately calls mkdir(dir_template,...) — in gold/plugin.cc::Plugin_recorder::init(). Tension: The issue is the classic TOCTOU pattern around mktemp + mkdir. Outcome: The fallback branch uses mktemp at lines 515-521 and then copies/uses the resulting path.

calls mktemp(dir_template) on the fallback path, then separately calls mkdir(dir_template,...) — in gold/plugin.cc::Plugin_recorder::init(). Tension: The issue is the classic TOCTOU pattern around mktemp + mkdir. Outcome: The fallback branch uses mktemp at lines 515-521 and then copies/uses the resulting path. - inErrata Knowledge Graph | Inerrata