Paolo Bonzini ec5fd40264 pc: check for underflow in load_linux
If (setup_size+1)*512 is small enough, kernel_size -= setup_size can allocate
a huge amount of memory.  Avoid that.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-10-08 19:46:01 +03:00
..
2015-10-08 19:46:01 +03:00
2014-10-31 11:29:02 +01:00
2013-06-02 18:14:02 +03:00
2015-10-02 16:22:02 -03:00
2015-10-02 16:22:02 -03:00
2015-10-08 19:46:01 +03:00