Al Viro
ce4bb04cae
Fix a leak in socket(2) when we fail to allocate a file descriptor.
...
Got broken by "make sock_alloc_file() do sock_release() on failures" -
cleanup after sock_map_fd() failure got pulled all the way into
sock_alloc_file(), but it used to serve the case when sock_map_fd()
failed *before* getting to sock_alloc_file() as well, and that got
lost. Trivial to fix, fortunately.
Fixes: 8e1611e23579 (make sock_alloc_file() do sock_release() on failures)
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2018-01-10 18:47:05 -05:00
..
2017-11-02 11:10:55 +01:00
2017-11-22 20:17:54 -10:00
2017-11-21 15:57:07 -08:00
2017-11-12 09:17:05 +09:00
2017-11-21 15:57:07 -08:00
2017-11-21 16:35:54 -08:00
2017-11-04 09:26:51 +09:00
2017-11-21 15:57:07 -08:00
2017-11-21 15:57:07 -08:00
2017-09-26 13:36:44 -07:00
2017-11-14 21:54:55 +09:00
2017-11-02 11:10:55 +01:00
2017-11-21 16:35:54 -08:00
2017-11-21 05:38:32 -10:00
2017-11-25 08:37:16 -10:00
2017-08-09 16:57:38 -07:00
2017-11-04 09:26:51 +09:00
2017-11-21 15:57:07 -08:00
2017-10-18 09:12:40 +01:00
2017-11-14 21:47:48 +09:00
2017-06-16 11:48:40 -04:00
2017-10-25 13:00:27 +09:00
2017-11-04 09:26:51 +09:00
2017-11-01 12:19:03 +09:00
2017-11-25 08:37:16 -10:00
2017-11-25 08:37:16 -10:00
2017-11-04 09:26:51 +09:00
2017-07-03 02:31:22 -07:00
2017-11-04 09:26:51 +09:00
2017-11-14 15:45:52 +09:00
2017-11-14 15:45:53 +09:00
2017-11-21 16:35:54 -08:00
2017-11-15 11:56:19 -08:00
2017-11-20 17:01:31 +01:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-21 15:57:09 -08:00
2018-01-05 11:43:39 -05:00
2017-11-18 10:32:41 +09:00
2017-11-14 21:51:14 +09:00
2017-11-21 16:35:54 -08:00
2017-11-21 15:57:07 -08:00
2017-11-08 16:12:33 +09:00
2017-11-24 01:37:35 +09:00
2017-11-14 15:45:52 +09:00
2017-11-14 15:45:53 +09:00
2017-11-01 12:19:03 +09:00
2017-11-10 10:00:18 +09:00
2017-11-15 19:42:40 -08:00
2017-06-13 11:07:51 +02:00
2017-11-21 16:35:54 -08:00
2017-11-21 15:57:07 -08:00
2017-11-24 02:33:01 +09:00
2017-11-18 10:32:41 +09:00
2017-11-24 01:33:34 +09:00
2017-10-25 10:37:11 +09:00
2017-11-21 16:35:54 -08:00
2017-11-10 13:41:40 +09:00
2017-11-21 20:22:03 +09:00
2017-11-14 16:26:35 +09:00
2017-11-04 09:26:51 +09:00
2017-11-04 09:26:51 +09:00
2017-11-02 11:10:55 +01:00
2017-11-21 15:57:07 -08:00
2017-11-21 16:35:54 -08:00
2017-11-21 15:57:07 -08:00
2017-09-20 15:36:18 -07:00
2017-09-04 13:25:20 +02:00
2017-11-02 11:10:55 +01:00
2018-01-10 18:47:05 -05:00
2017-04-16 23:42:49 -05:00