Willy Tarreau
a7ddab0c25
BUG/MEDIUM: shctx: make sure to keep all blocks aligned
...
The blocksize and the extra field are not necessarily aligned on a
machine word. This can result in crashing an align-sensitive machine
when initializing the shctx area. Let's round both sizes up to a pointer
size to make this safe everywhere.
This fixes issue #512 . This should be backported as far as 1.8.
2020-02-21 13:45:58 +01:00
..
2020-01-20 14:01:52 +01:00
2020-02-14 19:02:06 +01:00
2020-01-20 15:18:45 +01:00
2020-02-16 10:49:55 +01:00
2020-01-31 17:25:37 +01:00
2020-01-18 06:45:54 +01:00
2019-12-06 17:20:26 +01:00
2020-02-14 19:02:06 +01:00
2020-02-06 14:55:34 +01:00
2020-01-07 10:51:15 +01:00
2020-02-21 11:21:12 +01:00
2020-01-16 16:26:41 +01:00
2020-02-21 11:21:12 +01:00
2020-01-30 18:59:33 +01:00
2020-02-14 19:02:06 +01:00
2020-02-21 11:21:12 +01:00
2019-12-27 14:04:33 +01:00
2019-12-27 14:04:33 +01:00
2019-12-27 14:04:33 +01:00
2020-02-06 22:16:07 +01:00
2019-12-20 08:09:28 +01:00
2020-02-18 11:19:57 +01:00
2020-01-15 10:58:17 +01:00
2020-02-14 19:02:06 +01:00
2019-11-15 13:43:08 +01:00
2019-12-11 16:46:16 +01:00
2020-01-06 13:58:21 +01:00
2019-11-25 11:11:32 +01:00
2020-02-06 14:55:34 +01:00
2020-01-16 08:23:42 +01:00
2020-01-22 14:33:17 +01:00
2020-02-06 16:01:04 +01:00
2020-02-05 15:39:08 +01:00
2020-02-21 11:52:14 +01:00
2020-02-21 11:18:08 +01:00
2019-10-31 08:47:31 +01:00
2020-02-21 11:53:18 +01:00
2020-02-18 11:19:57 +01:00
2020-02-06 14:55:34 +01:00
2020-01-08 16:15:23 +01:00
2020-02-06 14:54:47 +01:00
2020-02-12 10:21:33 +01:00
2020-02-14 19:02:06 +01:00
2020-02-01 18:08:34 +01:00
2020-02-21 11:21:12 +01:00
2020-02-21 11:38:50 +01:00
2020-02-21 11:21:12 +01:00
2020-01-23 17:30:42 +01:00
2019-12-11 14:26:53 +01:00
2020-02-14 04:23:08 +01:00
2020-01-17 18:30:06 +01:00
2020-02-05 23:40:17 +01:00
2020-01-30 09:15:37 +01:00
2020-02-21 11:21:12 +01:00
2020-02-21 11:21:12 +01:00
2019-12-10 19:09:15 +01:00
2020-02-21 11:21:12 +01:00
2020-02-06 14:55:34 +01:00
2020-02-14 19:02:06 +01:00
2020-02-21 11:22:45 +01:00
2019-11-15 15:48:12 +01:00
2020-02-18 14:27:44 +01:00
2020-02-14 19:02:06 +01:00
2020-01-23 16:34:26 +01:00
2020-02-21 13:45:58 +01:00
2019-11-15 15:48:12 +01:00
2020-02-19 11:46:18 +01:00
2020-02-11 06:49:42 +01:00
2020-01-23 11:49:02 +01:00
2020-02-14 19:02:06 +01:00
2020-02-21 11:21:12 +01:00
2020-02-18 11:56:22 +01:00
2020-01-31 18:37:03 +01:00
2020-02-14 19:02:06 +01:00
2019-11-25 19:47:22 +01:00
2020-02-14 19:02:06 +01:00
2020-01-23 16:34:26 +01:00