Andreas Gruenbacher
7648f939cb
nfs: Fix potential posix_acl refcnt leak in nfs3_set_acl
...
nfs3_set_acl keeps track of the acl it allocated locally to determine if an acl
needs to be released at the end. This results in a memory leak when the
function allocates an acl as well as a default acl. Fix by releasing acls
that differ from the acl originally passed into nfs3_set_acl.
Fixes: b7fa0554cf1b ("[PATCH] NFS: Add support for NFSv3 ACLs")
Reported-by: Xiyu Yang <xiyuyang19@fudan.edu.cn>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2020-04-20 09:58:59 -04:00
..
2020-03-16 08:34:29 -04:00
2020-03-27 16:34:35 -04:00
2020-03-27 16:34:35 -04:00
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2020-03-16 08:34:30 -04:00
2020-01-15 10:54:31 -05:00
2019-04-24 09:46:35 -04:00
2020-03-16 08:34:30 -04:00
2020-02-25 13:53:24 -05:00
2020-04-03 18:26:02 -04:00
2020-02-13 16:18:50 -05:00
2020-04-07 13:51:39 -07:00
2020-04-01 13:37:57 -04:00
2020-03-16 12:04:33 -04:00
2017-11-02 11:10:55 +01:00
2019-11-03 21:28:46 -05:00
2020-01-15 10:54:32 -05:00
2020-04-02 18:37:13 -04:00
2020-01-15 10:54:30 -05:00
2020-02-25 13:53:24 -05:00
2020-01-15 10:54:30 -05:00
2020-03-30 19:56:50 -04:00
2020-04-06 13:56:33 -04:00
2020-04-01 13:37:56 -04:00
2019-02-20 15:14:21 -05:00
2017-11-02 11:10:55 +01:00
2020-03-02 13:11:46 -07:00
2020-01-15 10:15:17 -05:00
2020-02-03 10:43:06 -05:00
2020-04-02 18:53:59 -04:00
2019-07-06 14:54:49 -04:00
2019-05-21 10:50:45 +02:00
2020-01-15 10:54:30 -05:00
2020-01-15 10:15:17 -05:00
2020-04-20 09:58:59 -04:00
2020-01-15 10:15:17 -05:00
2020-01-24 16:51:13 -05:00
2019-05-21 10:50:45 +02:00
2020-01-15 10:54:32 -05:00
2020-03-16 08:34:30 -04:00
2020-02-25 13:53:24 -05:00
2020-03-16 10:14:30 -04:00
2017-11-02 11:10:55 +01:00
2019-07-10 18:43:43 -07:00
2015-04-23 15:16:14 -04:00
2020-03-17 18:40:57 -04:00
2020-04-07 13:51:39 -07:00
2020-02-04 12:27:55 -05:00
2019-05-21 10:50:45 +02:00
2019-03-02 16:25:26 -05:00
2020-03-16 08:34:30 -04:00
2020-01-15 10:15:17 -05:00
2018-01-18 15:10:47 -05:00
2020-01-15 10:54:33 -05:00
2020-03-16 08:34:30 -04:00
2020-01-15 10:54:32 -05:00
2019-10-09 12:06:22 -04:00
2020-02-04 11:01:54 -05:00
2019-10-09 12:05:49 -04:00
2017-11-02 11:10:55 +01:00
2020-03-25 08:45:47 -04:00
2019-02-13 12:03:21 -05:00
2020-04-06 13:56:33 -04:00
2020-04-01 13:37:56 -04:00
2019-03-01 22:37:38 -05:00
2020-04-11 11:42:35 -04:00
2020-04-19 23:53:52 -04:00
2020-03-27 16:34:35 -04:00
2020-01-24 16:51:13 -05:00
2020-04-06 13:56:33 -04:00
2020-04-07 13:51:39 -07:00
2019-05-09 16:26:57 -04:00
2017-11-02 11:10:55 +01:00
2019-11-18 10:38:04 +01:00
2019-07-06 14:54:49 -04:00
2020-03-16 08:34:29 -04:00
2020-04-01 13:37:57 -04:00