summaryrefslogtreecommitdiff
path: root/fs/dlm
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2015-07-03 10:36:11 +0300
committerFilipe Manana <fdmanana@suse.com>2015-07-12 00:34:26 +0300
commit497b4050e0eacd4c746dd396d14916b1e669849d (patch)
treea775d01fa811cf1136833984225c240d4ff1b708 /fs/dlm
parentc1aa45759e90b4204ab8bce027a925fc7c87d00a (diff)
downloadlinux-497b4050e0eacd4c746dd396d14916b1e669849d.tar.xz
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 <jtaylor.debian@googlemail.com> Reported-by: Marcel Ritter <ritter.marcel@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Diffstat (limited to 'fs/dlm')
0 files changed, 0 insertions, 0 deletions