diff options
| author | Igor Anić <igor.anic@gmail.com> | 2025-08-08 16:54:25 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-08-08 12:56:26 -0700 |
| commit | 6219c015d8e8c958d96e5caa5ef0dbab9c414996 (patch) | |
| tree | 67b90037ac1616daa1becaad8dcbe0a1968b170f /src/Compilation.zig | |
| parent | 3ee4252183e92ee8ec51c9ba8631bd9524e26b1f (diff) | |
| download | zig-6219c015d8e8c958d96e5caa5ef0dbab9c414996.tar.gz zig-6219c015d8e8c958d96e5caa5ef0dbab9c414996.zip | |
Io.Writer fix dangling pointer
While underlying writer is Allocating writer buffer can grow in
vtable.drain call. We should not hold pointer to the buffer before that
call and use it after.
This remembers positions instead of holding reference.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
