Revision 97679527
ID | 97679527bf2f002225d08cfb93f840cef449ac0e |
Fix overflow in i440fx_init()
The ram_size parameter can be larger than an int, so it may be truncated.
Fix by using the correct type.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Files
- added
- modified
- copied
- renamed
- deleted
- hw
- pc.h (diff)
- piix_pci.c (diff)