Simon Tatham
c2d7ea8e67
Fix use of aligned_alloc() to be ASan-clean.
...
aligned_alloc() is used by testsc for all its memory allocation, to
avoid false-positive timing variations that depend on memory alignment
rather than actual secret data. But I'd forgotten that aligned_alloc
requires the allocation size to be a multiple of the requested
alignment.
This showed up when I ran testsc in dry-run mode, and my normal build
happened to be using ASan, which complains at the invalid allocation
size. But it was theoretically a problem in all builds of
testsc. (Though, as far as I'm aware, not practically; and it _only_
affected testsc.)
2024-12-07 22:36:11 +00:00
..
2021-11-19 15:09:17 +00:00
2024-06-29 12:18:28 +01:00
2021-04-18 08:18:27 +01:00
2022-04-25 14:10:16 +01:00
2021-04-18 08:18:27 +01:00
2022-04-25 14:10:16 +01:00
2022-05-01 11:27:37 +01:00
2021-11-19 10:35:38 +00:00
2022-09-06 11:39:01 +01:00
2021-04-18 08:18:27 +01:00
2022-11-26 10:32:36 +00:00
2022-10-22 01:22:10 +01:00
2021-04-18 08:18:27 +01:00
2024-09-23 16:49:29 +01:00
2022-05-18 13:05:17 +01:00
2023-09-22 16:23:37 +01:00
2024-09-23 16:49:29 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2024-11-21 12:59:00 +00:00
2021-04-18 08:18:27 +01:00
2022-07-07 17:34:24 +01:00
2022-08-03 20:48:46 +01:00
2023-02-17 17:16:54 +00:00
2023-05-29 15:08:49 +01:00
2023-02-17 17:16:54 +00:00
2021-10-24 10:48:25 +01:00
2024-09-26 11:30:07 +01:00
2024-09-26 11:30:07 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2023-05-29 15:08:49 +01:00
2022-11-09 19:02:32 +00:00
2022-11-09 19:02:32 +00:00
2021-04-18 08:18:27 +01:00
2022-06-25 14:32:23 +01:00
2021-04-18 08:30:44 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2022-04-24 08:39:04 +01:00
2024-06-29 12:00:12 +01:00
2023-02-18 14:11:31 +00:00
2021-04-18 08:18:27 +01:00
2021-12-28 18:08:31 +00:00
2022-11-09 19:00:04 +00:00
2024-12-07 22:36:11 +00:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2022-06-25 14:30:39 +01:00
2022-06-25 14:30:39 +01:00
2022-11-26 10:49:03 +00:00
2022-06-25 14:30:39 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2022-07-07 18:05:32 +01:00
2022-09-13 11:26:57 +01:00
2021-04-18 08:18:27 +01:00
2024-06-29 11:49:32 +01:00
2021-04-19 17:14:01 +01:00
2022-04-15 17:46:06 +01:00
2021-12-28 18:08:31 +00:00
2021-04-18 08:18:27 +01:00
2022-04-24 08:39:04 +01:00
2021-04-22 18:09:13 +01:00
2022-04-24 08:38:27 +01:00
2021-04-18 08:18:27 +01:00
2022-11-09 19:02:32 +00:00
2023-12-18 14:47:48 +00:00
2022-09-14 16:10:29 +01:00
2023-02-17 17:16:54 +00:00
2023-02-17 17:16:54 +00:00
2021-04-18 08:18:27 +01:00
2023-04-19 14:28:36 +01:00
2021-04-18 08:18:27 +01:00
2022-11-11 08:44:07 +00:00
2021-04-18 08:30:44 +01:00
2022-07-07 18:05:32 +01:00
2021-12-22 15:05:04 +00:00
2022-09-03 11:59:12 +01:00
2022-09-03 11:59:12 +01:00
2021-04-18 08:18:27 +01:00
2022-09-03 11:59:12 +01:00
2023-05-29 15:41:50 +01:00
2021-04-18 08:18:27 +01:00