commit | 09cb22d2a57b51d7d052dfe508f260abc67b69b6 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Tue Nov 03 12:53:54 2015 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Tue Nov 03 12:53:54 2015 +1100 |
tree | 62713e458b2c302b69648a2bf4723d3f2467e2a1 | |
parent | 86a21c79745ca97676cbd47f8608839382cc0448 [diff] |
xfs: Plug memory leak in xfs_attrmulti_attr_set When setting attributes via XFS_IOC_ATTRMULTI_BY_HANDLE, the user-space buffer is copied into a new kernel-space buffer via memdup_user; that buffer then isn't freed. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>