diff options
author | 2023-01-19 16:14:40 -0800 | |
---|---|---|
committer | 2023-01-19 16:14:40 -0800 | |
commit | 9bcd4952ce3b3051d1f432810d0a9f8a17e3db92 (patch) | |
tree | 5e8a3f7c096e7f6d78ff9e3f4ce8596e7de0896a /src | |
parent | 8745f10cd3ac16815f5528c0d87606c56b1367c7 (diff) | |
download | bun-9bcd4952ce3b3051d1f432810d0a9f8a17e3db92.tar.gz bun-9bcd4952ce3b3051d1f432810d0a9f8a17e3db92.tar.zst bun-9bcd4952ce3b3051d1f432810d0a9f8a17e3db92.zip |
Fix UAF when opening workspaces
Diffstat (limited to 'src')
-rw-r--r-- | src/install/lockfile.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/install/lockfile.zig b/src/install/lockfile.zig index c0617d215..be56f56f1 100644 --- a/src/install/lockfile.zig +++ b/src/install/lockfile.zig @@ -2730,8 +2730,6 @@ pub const Package = extern struct { defer workspace_allocator.free(workspace_bytes); const workspace_source = logger.Source.initPathString(path, workspace_bytes); - initializeStore(); - var workspace_json = try json_parser.PackageJSONVersionChecker.init(allocator, &workspace_source, log); _ = try workspace_json.parseExpr(); |