commit | 77039b96316d119cea23f48b617103d50e78b840 | [log] [tgz] |
---|---|---|
author | Jon Derrick <jonathan.derrick@intel.com> | Tue Feb 21 11:59:15 2017 -0700 |
committer | Jens Axboe <axboe@fb.com> | Wed Feb 22 11:54:49 2017 -0700 |
tree | aa9bef91b061b72beb2252fb325d6ea4bff7d9c8 | |
parent | cccb92417d447172c4653876f6cd4b04c29d7905 [diff] |
block/sed: Check received header lengths Add a buffer size check against discovery and response header lengths before we loop over their buffers. Signed-off-by: Jon Derrick <jonathan.derrick@intel.com> Reviewed-by: Scott Bauer <scott.bauer@intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>