diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2016-01-08 12:16:04 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-01-08 12:16:04 -0600 |
commit | 47b975d234eac39f3a72e5496d5f6158d8b806d1 (patch) | |
tree | 4c5e429ecd4ec1a454800865345313dac73422af /sound/aoa | |
parent | 3460baa620685c20f5ee19afb6d99d26150c382c (diff) | |
download | linux-stable-47b975d234eac39f3a72e5496d5f6158d8b806d1.tar.gz linux-stable-47b975d234eac39f3a72e5496d5f6158d8b806d1.tar.bz2 linux-stable-47b975d234eac39f3a72e5496d5f6158d8b806d1.zip |
PCI: Avoid iterating through memory outside the resource window
If the 'image' pointer has been advanced more than 'size', we've already
iterated through memory outside the resource window.
We have zero control over whatever we find in the option ROM, if it's even
an option ROM and not just an accident of random data just happening to
look like an option ROM.
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'sound/aoa')
0 files changed, 0 insertions, 0 deletions