Behdad Esfahbod
326b5ebf57
Poison freed objects such that double-free is detected
...
Previously we were setting refcount of freed objects to the inert value, which
was harmful because it caused further destroy()s of the freed object to NOT
call free() and hence hide the bug. Indeed, after eb0bf3ae66 test-object
was double-free'ing objects and this was never caught on Linux. It only was
caught as crashing on Mac.
Now we poison refcount upon freeing and check that it's valid whenever reading
it. Makes test-object fail now.
2015-08-30 17:29:21 +01:00
..
2015-07-25 17:32:16 +02:00
2013-08-26 18:46:21 -04:00
2014-10-01 18:18:25 -04:00
2013-08-26 18:46:21 -04:00
2014-07-31 18:58:24 -04:00
2015-04-23 18:56:24 -07:00
2014-10-01 11:56:07 -04:00
2014-10-01 18:18:25 -04:00
2014-07-11 16:22:13 -04:00
2015-01-17 20:16:56 -08:00
2015-07-21 16:46:37 +01:00
2013-08-28 12:38:37 -04:00
2013-05-28 17:18:30 -04:00
2015-08-11 12:58:49 +02:00
2015-04-09 12:04:14 -07:00
2015-01-06 19:16:38 -08:00
2014-05-13 21:06:39 -04:00
2014-10-14 20:07:31 -07:00
2015-03-26 14:13:53 -04:00
2015-07-22 18:29:47 +01:00
2015-08-24 13:49:55 +01:00
2015-07-22 16:51:12 +01:00
2015-08-24 13:49:55 +01:00
2012-06-09 01:43:20 -04:00
2015-07-15 01:36:39 +01:00
2015-07-15 01:36:39 +01:00
2015-08-20 15:39:53 +01:00
2014-05-14 17:42:20 -06:00
2013-08-27 11:46:08 -04:00
2014-08-14 13:00:47 -04:00
2015-06-01 13:25:27 +02:00
2013-08-27 11:46:08 -04:00
2014-07-17 14:39:07 -04:00
2014-01-02 14:30:45 +08:00
2015-06-01 13:25:27 +02:00
2015-08-23 14:42:20 +01:00
2015-06-01 13:25:27 +02:00
2014-12-28 17:59:28 -08:00
2015-06-01 13:25:27 +02:00
2015-01-06 16:58:33 -08:00
2013-08-28 12:38:37 -04:00
2013-08-28 12:38:37 -04:00
2015-05-19 17:42:30 -07:00
2015-06-01 13:25:27 +02:00
2013-08-28 12:38:37 -04:00
2015-07-22 14:28:25 +01:00
2013-09-13 20:36:43 -04:00
2015-01-03 19:46:19 -08:00
2012-08-08 14:59:09 -04:00
2015-04-08 13:04:22 -07:00
2015-08-30 17:29:21 +01:00
2015-02-25 15:43:28 -08:00
2015-08-21 12:44:36 +01:00
2015-02-25 15:43:28 -08:00
2015-08-24 13:45:12 +01:00
2015-06-03 11:53:42 -07:00
2015-08-23 14:42:20 +01:00
2015-08-23 14:42:20 +01:00
2015-02-25 15:43:28 -08:00
2015-02-25 15:43:28 -08:00
2015-02-25 15:43:35 -08:00
2015-02-25 15:43:28 -08:00
2015-08-25 20:29:36 +01:00
2015-08-18 14:36:43 +01:00
2015-08-18 14:36:43 +01:00
2015-02-25 15:43:28 -08:00
2015-07-26 19:40:55 +02:00
2015-08-18 18:55:03 +01:00
2014-07-11 16:22:13 -04:00
2015-07-23 11:52:11 +01:00
2015-07-23 11:52:11 +01:00
2015-02-25 15:43:28 -08:00
2015-03-04 12:03:39 -08:00
2014-12-28 16:03:26 -08:00
2015-07-22 10:49:13 +01:00
2015-07-15 01:39:57 +01:00
2015-07-21 15:17:27 +01:00
2015-07-22 10:49:13 +01:00
2013-12-31 16:49:15 +08:00
2015-07-22 16:51:12 +01:00
2014-07-26 20:34:01 -04:00
2014-12-10 12:05:24 -08:00
2015-07-21 15:17:27 +01:00
2015-01-17 20:16:56 -08:00
2015-07-22 12:02:09 +01:00
2014-05-27 17:49:45 -04:00
2015-07-22 11:58:11 +01:00
2015-07-21 17:46:06 +01:00
2014-07-11 16:22:13 -04:00
2013-12-31 16:49:15 +08:00
2015-07-21 17:14:54 +01:00
2015-07-21 16:55:26 +01:00
2015-07-21 16:46:37 +01:00
2015-08-17 16:03:28 +02:00
2013-02-21 15:23:39 -05:00
2015-08-08 18:03:38 +02:00
2014-01-02 17:04:04 +08:00
2015-08-09 18:26:27 +02:00
2014-02-18 15:53:56 -05:00
2015-08-18 18:42:47 +01:00
2014-06-20 14:02:30 -04:00
2015-06-12 17:46:06 -07:00
2012-04-12 13:17:44 -04:00
2014-03-24 15:19:15 -07:00
2015-07-21 15:52:15 +01:00
2015-07-25 17:38:21 +02:00
2015-06-01 13:25:27 +02:00
2013-09-06 15:31:22 -04:00
2013-12-11 20:24:20 -05:00
2015-06-01 13:25:27 +02:00
2012-11-16 13:23:37 -08:00
2015-06-01 13:25:27 +02:00
2015-04-30 18:24:45 -04:00
2012-07-27 01:37:18 -04:00
2014-03-14 19:38:58 -04:00
2015-01-27 10:02:34 -08:00
2015-01-04 19:31:10 -08:00
2015-07-25 17:32:16 +02:00
2015-07-21 15:50:02 +01:00
2015-07-05 22:43:17 +01:00
2015-06-01 13:25:27 +02:00
2015-08-20 15:39:06 +01:00
2014-07-19 16:32:04 -04:00
2015-01-26 14:25:52 -08:00
2014-06-20 14:09:57 -04:00
2015-07-05 22:43:17 +01:00
2013-08-27 11:46:08 -04:00
2014-06-19 16:33:48 -04:00
2015-08-23 14:42:20 +01:00
2015-01-19 16:15:32 -08:00
2013-10-27 23:37:14 +01:00
2013-10-27 23:37:14 +01:00
2013-10-27 23:37:14 +01:00
2013-10-27 23:37:14 +01:00