Darren Kenny 7ce3259f67 video/fb/fbfill: Fix potential integer overflow
The multiplication of 2 unsigned 32-bit integers may overflow before
promotion to unsigned 64-bit. We should ensure that the multiplication
is done with overflow detection. Additionally, use grub_sub() for
subtraction.

Fixes: CID 73640, CID 73697, CID 73702, CID 73823

Signed-off-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Marco A Benatto <mbenatto@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2021-03-02 15:54:17 +01:00
..
2020-07-29 16:55:47 +02:00
2020-09-11 15:45:56 +02:00
2020-07-29 16:55:47 +02:00
2015-01-27 17:17:58 +01:00
2011-05-16 02:34:58 +02:00
2010-08-19 16:54:00 +05:30