Cong Wang
b5c66bab72
9p: fix a potential acl leak
...
posix_acl_update_mode() could possibly clear 'acl', if so we leak the
memory pointed by 'acl'. Save this pointer before calling
posix_acl_update_mode() and release the memory if 'acl' really gets
cleared.
Link: http://lkml.kernel.org/r/1486678332-2430-1-git-send-email-xiyou.wangcong@gmail.com
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Reported-by: Mark Salyzyn <salyzyn@android.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Greg Kurz <groug@kaod.org>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-22 16:41:27 -08:00
..
2017-02-22 16:41:27 -08:00
2016-12-09 16:45:04 +01:00
2017-02-10 16:34:17 +00:00
2016-12-17 19:16:12 -08:00
2016-12-22 11:25:24 +00:00
2016-12-24 11:46:01 -08:00
2017-02-17 14:08:19 -07:00
2017-01-18 17:58:45 +01:00
2017-02-01 16:46:37 -06:00
2016-12-09 16:45:04 +01:00
2016-12-24 11:46:01 -08:00
2017-02-06 23:45:28 -05:00
2017-02-02 10:20:16 -07:00
2016-12-25 17:21:23 +01:00
2016-12-09 16:45:04 +01:00
2016-12-24 11:46:01 -08:00
2017-01-14 11:37:18 +01:00
2017-01-24 16:26:14 -08:00
2017-02-22 16:41:26 -08:00
2017-02-20 18:22:31 -08:00
2017-01-31 13:23:09 -05:00
2017-02-20 13:23:30 -08:00
2017-02-22 10:15:09 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-09 16:45:04 +01:00
2016-12-24 11:46:01 -08:00
2016-12-13 10:19:16 -08:00
2017-02-20 18:24:39 -08:00
2016-12-09 16:45:04 +01:00
2016-12-24 11:46:01 -08:00
2017-02-10 16:02:26 +01:00
2016-11-18 10:59:15 -05:00
2016-12-09 16:45:04 +01:00
2016-12-24 11:46:01 -08:00
2017-01-26 15:50:41 -05:00
2016-11-18 10:59:15 -05:00
2017-02-22 11:44:32 -08:00
2017-02-02 08:20:48 -07:00
2017-02-21 07:44:03 -08:00
2016-12-24 11:46:01 -08:00
2017-02-22 16:41:27 -08:00
2016-12-24 11:46:01 -08:00
2016-12-17 19:16:12 -08:00
2017-01-18 15:19:54 +01:00
2017-02-21 12:49:56 -08:00
2017-02-13 10:25:52 -08:00
2016-12-19 08:23:53 -08:00
2016-12-24 11:46:01 -08:00
2016-12-17 19:16:12 -08:00
2017-01-24 16:26:14 -08:00
2016-12-17 19:16:12 -08:00
2016-12-09 16:45:04 +01:00
2017-02-20 18:22:31 -08:00
2017-02-03 16:24:18 +01:00
2016-12-24 11:46:01 -08:00
2017-02-22 16:41:26 -08:00
2017-01-14 19:31:40 -05:00
2016-12-24 11:46:01 -08:00
2016-12-09 11:57:43 +01:00
2016-12-24 11:46:01 -08:00
2017-02-01 09:13:51 +01:00
2017-02-01 09:13:51 +01:00
2017-02-17 14:08:19 -07:00
2017-01-02 09:35:14 -07:00
2017-02-01 09:13:51 +01:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-01-14 19:32:40 -05:00
2017-02-22 16:41:26 -08:00
2017-01-10 13:34:43 +13:00
2016-12-24 11:46:01 -08:00
2017-01-10 13:29:54 -07:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-05 19:01:16 -05:00
2016-12-24 11:46:01 -08:00
2016-12-12 18:55:08 -08:00
2016-12-17 18:44:00 -08:00
2016-12-16 11:02:54 +01:00
2017-02-03 14:13:19 -08:00
2017-01-24 16:26:14 -08:00
2016-10-24 08:12:35 -02:00
2017-01-10 13:34:55 +13:00
2016-12-24 11:46:01 -08:00
2016-12-14 23:48:11 -05:00
2016-12-03 15:55:01 -05:00
2016-12-03 20:51:35 -05:00
2016-11-04 14:34:47 -06:00
2016-12-24 11:46:01 -08:00
2017-01-10 13:34:43 +13:00
2016-10-31 10:56:36 -04:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-16 16:30:49 -05:00
2017-01-10 01:29:48 -05:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-02-16 09:09:02 -08:00
2016-12-24 11:46:01 -08:00
2016-12-05 19:03:49 -05:00
2017-02-02 08:20:48 -07:00
2017-02-10 11:15:09 +01:00
2017-01-24 16:26:14 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00