diff options
author | Gabriel de Perthuis <g2p.code@gmail.com> | 2013-05-06 17:40:18 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-24 11:35:47 -0700 |
commit | 514b17caf165ec31d1f6b9d40c645aed55a0b721 (patch) | |
tree | ba1385da20c1993c03a353fac57d1f279b45e53d /drivers | |
parent | c2672f87c3b10f44e7e8f15f23d4dfec434c9053 (diff) |
btrfs: don't stop searching after encountering the wrong item
commit 03b71c6ca6286625d8f1ed44aabab9b5bf5dac10 upstream.
The search ioctl skips items that are too large for a result buffer, but
inline items of a certain size occuring before any search result is
found would trigger an overflow and stop the search entirely.
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=57641
Signed-off-by: Gabriel de Perthuis <g2p.code+btrfs@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions