diff options
author | Filipe Manana <[email protected]> | 2015-07-03 08:36:11 +0100 |
---|---|---|
committer | Filipe Manana <[email protected]> | 2015-07-11 22:34:26 +0100 |
commit | 497b4050e0eacd4c746dd396d14916b1e669849d (patch) | |
tree | a775d01fa811cf1136833984225c240d4ff1b708 /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
parent | c1aa45759e90b4204ab8bce027a925fc7c87d00a (diff) |
Btrfs: fix memory leak in the extent_same ioctl
We were allocating memory with memdup_user() but we were never releasing
that memory. This affected pretty much every call to the ioctl, whether
it deduplicated extents or not.
This issue was reported on IRC by Julian Taylor and on the mailing list
by Marcel Ritter, credit goes to them for finding the issue.
Reported-by: Julian Taylor <[email protected]>
Reported-by: Marcel Ritter <[email protected]>
Cc: [email protected]
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: Mark Fasheh <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions