Paweł Dziepak
eb7d17e5c5
lsa: make sure align_up_for_asan() doesn't cause reads past end of segment
...
In debug mode the LSA needs objects to be 8-byte aligned in order to
maximise coverage from the AddressSanitizer.
Usually `close_active()` creates a dummy objects that covers the end of
the segment being closed. However, it the last real objects ends in the
last eight bytes of the segment then that dummy won't be created because
of the alignment requirements. This broke exit conditions on loops
trying to read all objects in the segment and caused them to attempt to
dereference address at the end of the segment. This patch fixes that.
Fixes #4653 .
2019-07-10 19:19:24 +02:00
..
2018-10-02 18:48:23 +01:00
2018-12-10 10:31:08 +02:00
2018-05-09 16:52:26 +01:00
2018-05-30 12:18:56 +02:00
2018-12-24 09:58:08 +02:00
2018-12-24 09:58:08 +02:00
2019-07-04 11:32:53 +02:00
2019-07-04 11:33:00 +02:00
2018-11-01 13:16:17 +00:00
2018-11-21 00:01:44 +02:00
2018-05-10 09:47:41 +03:00
2018-07-11 16:55:20 +02:00
2018-11-26 13:30:21 +00:00
2018-12-03 14:36:08 +01:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-07-10 10:40:35 +03:00
2018-05-30 14:41:40 +02:00
2018-12-03 14:36:08 +01:00
2019-01-08 13:16:36 +02:00
2018-11-21 00:01:44 +02:00
2019-01-08 13:16:36 +02:00
2019-02-07 18:31:25 +02:00
2019-01-08 13:16:36 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-01 13:16:17 +00:00
2018-07-18 12:28:06 +01:00
2019-03-04 10:23:45 +00:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-01 13:16:17 +00:00
2018-05-10 09:47:41 +03:00
2019-01-08 13:16:36 +02:00
2019-01-08 13:16:36 +02:00
2018-05-15 11:22:21 -04:00
2019-06-12 13:14:53 +03:00
2019-06-12 13:14:53 +03:00
2018-08-30 20:56:44 -04:00
2019-01-08 13:16:36 +02:00
2019-06-23 19:32:51 +03:00
2019-07-10 19:19:24 +02:00
2019-06-23 16:03:06 +03:00
2019-01-18 13:48:05 +00:00
2018-09-03 17:09:54 +03:00
2018-11-21 14:04:27 +01:00
2018-05-31 10:09:01 +01:00
2019-01-08 13:16:36 +02:00
2018-07-11 10:15:01 +01:00
2018-07-20 13:50:17 -07:00
2018-11-20 16:15:12 +00:00
2018-06-27 12:48:30 +02:00
2019-01-08 13:16:36 +02:00
2018-11-21 00:01:44 +02:00
2018-09-30 11:12:23 +03:00
2018-12-12 09:32:05 +00:00
2018-11-21 00:01:44 +02:00
2019-01-18 17:49:46 +02:00
2018-12-28 16:31:24 +01:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2018-12-05 21:51:01 +02:00
2018-12-05 21:51:01 +02:00
2019-02-20 08:03:46 -08:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00