Scott Bauer 10eec60ce7 vfs: ioctl: prevent double-fetch in dedupe ioctl
This prevents a double-fetch from user space that can lead to to an
undersized allocation and heap overflow.

Fixes: 54dbc1517237 ("vfs: hoist the btrfs deduplication ioctl to the vfs")
Signed-off-by: Scott Bauer <sbauer@plzdonthack.me>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-07-28 15:23:12 -07:00
..
2016-06-10 18:14:47 -07:00
2016-07-28 12:26:31 -07:00
2016-07-28 12:26:31 -07:00
2016-05-20 17:58:30 -07:00
2016-07-28 12:26:31 -07:00
2016-07-28 12:26:31 -07:00
2016-07-28 12:26:31 -07:00
2016-06-19 18:09:31 +02:00
2016-06-23 00:29:53 +02:00
2016-05-23 17:04:14 -07:00
2016-01-22 18:04:28 -05:00
2016-07-27 09:53:35 -07:00
2016-06-07 22:07:09 -04:00
2016-07-26 16:19:19 -07:00
2016-07-27 09:53:35 -07:00
2016-06-21 09:38:45 +10:00
2016-06-21 09:23:11 +10:00
2016-05-23 17:04:14 -07:00
2016-06-20 17:11:29 -04:00
2016-07-01 10:24:18 -04:00
2016-06-21 09:23:11 +10:00
2016-07-26 16:19:19 -07:00
2016-06-24 12:11:34 -04:00
2016-07-26 16:19:19 -07:00
2016-01-22 18:04:28 -05:00