Alexey Samsonov
508398021d
[libc] Add hardening for FixedVector data structure and fix exposed bug. ( #122159 )
...
Add LIBC_ASSERT statements to FixedVector implementation, and zero out
the memory when the elements are removed to flag out-of-bound access and
dangling pointer/reference access.
This change unmasks the bug in one of FixedVector uses for atexit
handlers: dangling reference use, which was actually led to crashes in
the wild (with prod blockstore implementation). Fix it in this CL.
2025-01-08 13:03:59 -08:00
..
2024-12-16 10:30:27 -08:00
2024-12-02 15:35:08 -06:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-22 15:28:48 -05:00
2024-07-12 09:28:41 -07:00
2024-09-11 12:22:35 -04:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-12-16 10:30:27 -08:00
2024-07-12 09:28:41 -07:00
2024-11-01 21:49:57 -07:00
2025-01-08 13:03:59 -08:00
2024-07-12 09:28:41 -07:00
2024-11-01 21:49:57 -07:00
2024-11-01 21:49:57 -07:00
2024-08-08 06:45:42 -05:00
2024-07-12 09:28:41 -07:00
2025-01-05 06:10:41 +08:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-11-01 21:49:57 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-11-01 21:49:57 -07:00
2024-11-01 21:49:57 -07:00
2025-01-05 06:10:41 +08:00
2025-01-06 13:17:37 +00:00
2025-01-05 06:10:41 +08:00
2024-11-01 21:49:57 -07:00
2025-01-05 06:10:41 +08:00
2025-01-05 06:10:41 +08:00
2024-11-01 21:49:57 -07:00
2024-09-11 12:22:35 -04:00
2024-07-12 09:28:41 -07:00
2025-01-05 06:10:41 +08:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-17 12:01:26 -03:00
2024-11-01 21:49:57 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-11-01 21:49:57 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-08-29 14:18:37 -05:00
2024-08-29 14:18:37 -05:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-08-29 14:18:37 -05:00
2024-08-29 14:18:37 -05:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-08-29 14:18:37 -05:00
2024-08-29 14:18:37 -05:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-08-29 14:18:37 -05:00
2024-08-29 14:18:37 -05:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-08-29 14:18:37 -05:00
2024-08-29 14:18:37 -05:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-08-29 14:18:37 -05:00
2024-08-29 14:18:37 -05:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-08-29 14:18:37 -05:00
2024-08-29 14:18:37 -05:00
2024-07-12 09:28:41 -07:00
2024-07-12 09:28:41 -07:00
2024-09-23 14:04:28 -07:00