Andrew Kelley 54454fd010 std.math.big.int: breaking API changes to prevent UAF
Many of the Managed methods accepted by-val parameters which could
reference Limb slices that became invalid memory after any
ensureCapacity calls. Now, Managed methods accept `*const Managed`
parameters so that if the function allows aliasing and the
ensure-capacity call resizes the Limb slice, it also affects the
aliased parameters, avoiding use-after-free bugs.

This is a breaking change that reduces the requirement for callsites to
manually make the ensure-capacity changes prior to calling many of the
Managed methods.

Closes #11897
2022-06-29 22:06:27 -04:00
..
2022-04-24 23:01:06 -04:00
2022-06-12 19:17:41 +03:00
2022-06-07 21:27:07 +03:00
2022-05-24 22:48:51 -04:00
2022-05-13 16:43:59 -04:00
2022-03-08 20:38:12 +02:00
2022-04-20 17:18:06 -07:00
2022-01-07 00:06:06 -05:00
2022-06-03 20:21:20 +03:00
2022-04-14 10:12:45 -07:00
2022-06-29 08:23:09 +02:00
2022-06-03 20:21:20 +03:00
2022-06-07 21:27:07 +03:00
2022-06-21 11:21:45 +02:00
2022-05-26 21:58:19 -07:00
2022-05-24 22:48:51 -04:00
2022-06-07 21:27:07 +03:00
2022-05-13 16:43:59 -04:00
2022-04-15 17:01:01 -05:00
2022-01-07 00:06:06 -05:00