Christian Brauner 5b52aebef8
ovl: call posix_acl_release() after error checking
The current placement of posix_acl_release() in ovl_set_or_remove_acl()
means it can be called on an error pointer instead of actual acls.
Fix this by moving the posix_acl_release() call after the error handling.

Fixes: 0e641857322f ("ovl: implement set acl method") # mainline only
Reported-by: syzbot+3f6ef1c4586bb6fd1f61@syzkaller.appspotmail.com
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
2022-11-03 08:18:46 +01:00
..
2022-10-20 10:13:32 +02:00
2022-10-06 17:13:18 -07:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-10-03 20:33:41 -07:00
2022-10-04 13:38:03 -07:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-05-09 16:21:45 -04:00
2022-10-10 19:45:17 -07:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:30 +02:00
2022-09-24 07:00:00 +02:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-10-10 19:45:17 -07:00
2022-05-09 16:21:46 -04:00
2022-10-10 19:45:17 -07:00
2022-09-11 20:26:07 -07:00
2022-10-06 17:36:48 -07:00
2022-10-20 10:13:27 +02:00
2022-08-11 13:11:49 -07:00
2022-10-20 10:13:27 +02:00
2022-08-20 11:34:33 -04:00
2022-10-10 19:45:17 -07:00
2022-06-29 13:07:16 +02:00
2022-10-06 16:49:00 -07:00
2022-10-20 10:13:31 +02:00
2022-10-10 14:21:11 -07:00
2022-08-03 10:35:43 -07:00
2022-10-20 10:13:27 +02:00
2022-10-06 17:13:18 -07:00
2022-06-28 13:58:05 -04:00
2022-05-22 21:03:01 +01:00