authorgravatar for pentuppup@noreply.codeberg.orgpentuppup <pentuppup@noreply.codeberg.org> 2026-07-01 14:26:09-04:00
committergravatar for pentuppup@noreply.codeberg.orgpentuppup <pentuppup@noreply.codeberg.org> 2026-07-01 14:38:48-04:00
log69d65ae472e725726d3c33f23c486d2c871ef8c7
tree887e7a8bc26a45b6e94c524c8c9c7b574f5d2983
parent3b9dddfb3112724507ab747ae7fac650a8aedb58

fix UAF in maker


1 files changed, 1 insertions(+), 1 deletions(-)

lib/compiler/Maker.zig+1-1
......@@ -1254,7 +1254,7 @@ fn configure(graph: *Graph, options: ConfigureOptions) !ScannedConfig {
12541254 const tmp_dir_sub_path = "tmp" ++ Dir.path.sep_str ++ std.fmt.hex(rand_int);
12551255 const config_tmp_path: Path = .{
12561256 .root_dir = graph.local_cache_root,
1257 .sub_path = tmp_dir_sub_path,
1257 .sub_path = try arena.dupe(u8, tmp_dir_sub_path),
12581258 };
12591259 const config_tmp_file: Io.File = try config_tmp_path.root_dir.handle.createFile(
12601260 io,