commit | 038268e2e8087ee2fd8987a77ba580e15f14c147 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Tue Nov 20 17:27:43 2012 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Wed Nov 21 09:47:34 2012 +0100 |
tree | f1855ce378d6a0045f3135cfa3deaab7106e6130 | |
parent | 08448d5195aeff49bf25fb62b4a6218f079f5284 [diff] |
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>