Shaka Huang e3801d6965
Fix overflow
`totalsize` might be a big (invalid) number so instead of checking the end address we check the size of the image.

Fix #4049
2021-03-24 03:02:46 -07:00
..
2021-03-24 03:02:46 -07:00
2019-01-30 03:10:12 -05:00
2019-03-03 06:35:25 -05:00
2021-01-25 00:19:10 -08:00