1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 15:48:06 -05:00
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
..
2022-11-26 10:32:36 +00:00
2024-11-21 12:59:00 +00:00
2023-05-29 15:08:49 +01:00
2022-06-25 14:30:39 +01:00
2021-04-19 17:14:01 +01:00
2022-04-24 08:38:27 +01:00
2023-12-18 14:47:48 +00: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
2021-04-18 08:18:27 +01:00