diff options
author | Kevin Wolf <kwolf@redhat.com> | 2012-11-20 17:27:43 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2012-11-21 09:47:34 +0100 |
commit | 038268e2e8087ee2fd8987a77ba580e15f14c147 (patch) | |
tree | f1855ce378d6a0045f3135cfa3deaab7106e6130 /cpu-common.h | |
parent | 08448d5195aeff49bf25fb62b4a6218f079f5284 (diff) | |
download | qemu-038268e2e8087ee2fd8987a77ba580e15f14c147.zip qemu-038268e2e8087ee2fd8987a77ba580e15f14c147.tar.gz qemu-038268e2e8087ee2fd8987a77ba580e15f14c147.tar.bz2 |
ide: Fix crash with too long PRD
Without this, s->nsector can become negative and badness happens (trying
to malloc huge amount of memory and glib calls abort())
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'cpu-common.h')
0 files changed, 0 insertions, 0 deletions