diff options
| author | Scott Wood | 2012-12-21 17:15:50 +0100 |
|---|---|---|
| committer | Alexander Graf | 2013-01-07 17:37:10 +0100 |
| commit | 65b9d0d5659687ebb85b1305ac70b3a84df16e5a (patch) | |
| tree | b596c249dc9644aa357ca90473fb12c22ef8db71 /linux-headers/linux | |
| parent | openpic: use standard bitmap operations (diff) | |
| download | qemu-65b9d0d5659687ebb85b1305ac70b3a84df16e5a.tar.gz qemu-65b9d0d5659687ebb85b1305ac70b3a84df16e5a.tar.xz qemu-65b9d0d5659687ebb85b1305ac70b3a84df16e5a.zip | |
openpic: add some bounds checking for IRQ numbers
The two checks with abort() guard against potential QEMU-internal
problems, but the EOI check stops the guest from causing updates to queue
position -1 and other havoc if it writes EOI with no interrupt in
service.
Signed-off-by: Scott Wood <scottwood@freescale.com>
[agraf: remove hunk in code that didn't get applied yet]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions
