diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2025-08-28 00:26:57 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-08-28 07:56:50 -0700 |
| commit | 2b73c28cec9a5c75ab064f1ebd88b12aa64d22dd (patch) | |
| tree | 75d9a6f12c9349068068246a153537425d318988 /lib/libcxx/src/random.cpp | |
| parent | 73a0b5441be3dc6adb666ca672f3c4f7972cf73e (diff) | |
| download | zig-2b73c28cec9a5c75ab064f1ebd88b12aa64d22dd.tar.gz zig-2b73c28cec9a5c75ab064f1ebd88b12aa64d22dd.zip | |
Reader.appendRemaining: Take ownership of the full allocated slice
Before this commit, calling appendRemaining with an ArrayList where list.items.len != list.capacity could result in illegal behavior if the Writer.Allocating resized the list during the appendRemaining call.
Fixes #25057
Diffstat (limited to 'lib/libcxx/src/random.cpp')
0 files changed, 0 insertions, 0 deletions
