Robin Burchell
2d4d465206
SharedBuffer: Fix a denial of service
...
It's a very bad idea to increment the refcount on behalf of another
process. That process may (for either benign or evil reasons) not
reference the SharedBuffer, and then we'll be stuck with loads of
SharedBuffers until we OOM.
Instead, increment the refcount when the buffer is mapped. That way, a
buffer is only kept if *someone* has explicitly requested it via
get_shared_buffer.
Fixes #341
2019-07-19 19:06:28 +02:00
..
2019-07-09 15:04:45 +02:00
2019-06-02 09:53:42 +02:00
2019-07-19 11:03:22 +02:00
2019-07-19 13:19:47 +02:00
2019-07-19 11:03:22 +02:00
2019-07-03 21:20:13 +02:00
2019-07-19 17:01:16 +02:00
2019-03-27 13:02:29 +01:00
2019-06-30 10:41:26 +02:00
2019-06-07 20:02:01 +02:00
2019-06-04 07:15:44 -07:00
2019-07-03 16:57:37 +02:00
2019-07-16 21:41:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-06-04 07:14:40 -07:00
2019-07-19 11:03:22 +02:00
2019-05-17 21:59:48 +02:00
2019-07-13 08:00:24 +02:00
2019-07-09 15:04:43 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-06-04 07:08:07 -07:00
2019-06-07 11:43:58 +02:00
2019-06-22 22:45:16 +02:00
2019-06-14 06:24:02 +02:00
2019-06-22 21:21:57 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-04-01 21:43:07 +02:00
2019-07-03 21:20:13 +02:00
2019-07-18 10:18:16 +02:00
2019-07-17 15:51:51 +02:00
2019-04-30 14:47:22 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-19 19:06:28 +02:00
2019-07-19 17:01:16 +02:00
2019-07-03 21:20:13 +02:00
2019-07-09 15:04:45 +02:00
2019-07-03 21:20:13 +02:00
2019-05-28 17:31:20 +02:00
2019-07-13 08:00:24 +02:00
2019-07-19 15:42:30 +02:00
2019-07-03 21:20:13 +02:00
2019-07-19 19:06:28 +02:00
2019-07-19 19:06:28 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-06-04 07:15:44 -07:00
2019-07-19 13:08:26 +02:00
2019-07-19 09:58:12 +02:00
2019-07-19 17:01:16 +02:00
2019-07-19 16:06:51 +02:00
2019-07-14 11:35:49 +02:00