diff options
author | Gabriel de Perthuis <g2p.code@gmail.com> | 2013-05-06 17:40:18 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-17 21:40:10 -0400 |
commit | 03b71c6ca6286625d8f1ed44aabab9b5bf5dac10 (patch) | |
tree | 5b5b9c8b566c2e4853f8c43dc46e9a9313c6c442 /fs/btrfs/disk-io.c | |
parent | a52f4cd2b1a863a42c1cb268b1cddad451cdfede (diff) | |
download | lwn-03b71c6ca6286625d8f1ed44aabab9b5bf5dac10.tar.gz lwn-03b71c6ca6286625d8f1ed44aabab9b5bf5dac10.zip |
btrfs: don't stop searching after encountering the wrong item
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
Cc: stable@vger.kernel.org
Signed-off-by: Gabriel de Perthuis <g2p.code+btrfs@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions