diff options
| author | Stevie Hryciw <codroid@gmail.com> | 2023-01-27 18:16:22 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-04-20 16:00:37 -0700 |
| commit | e8fdb249b673e3d69225c1b7cba68bdfc63061b1 (patch) | |
| tree | 64cc5767e20006ef393ca2f1b3602f9be3f98eee /src/codegen | |
| parent | 7d90410b96f4b2393133e184f72b2846d3ff5ac7 (diff) | |
| download | zig-e8fdb249b673e3d69225c1b7cba68bdfc63061b1.tar.gz zig-e8fdb249b673e3d69225c1b7cba68bdfc63061b1.zip | |
std.math.big.int: Initialize limbs in addWrap
When a big.Int.Mutable had more than two limbs, it was possible for
this function to change the `len` field without zeroing limbs in the
active range. These uninitialized limbs would then be used in
`truncate()` and could cause invalid results.
Closes #13571
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
