Gerd Hoffmann
6b9b3c1e30
ramfb: fix overflow
...
> CID 1393621: (OVERFLOW_BEFORE_WIDEN)
> Potentially overflowing expression "stride * s->height" with type "unsigned
> int" (32 bits, unsigned) is evaluated using +32-bit arithmetic, and then used
> in a context that expects an expression of type "hwaddr" (64 bits, unsigned).
Fix by changing stride from uint32_t to hwaddr.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180626083120.19515-1-kraxel@redhat.com
2018-06-26 16:04:01 +02:00
..
2016-07-04 13:15:22 +01:00
2018-06-01 19:20:37 +03:00
2018-01-22 09:46:18 +01:00
2018-06-04 09:44:10 +02:00
2018-02-13 16:15:09 +01:00
2017-03-27 12:14:45 +02:00
2017-03-17 10:23:44 +01:00
2017-12-18 17:07:02 +03:00
2018-01-16 14:54:52 +01:00
2018-02-13 16:15:09 +01:00
2018-02-13 16:15:09 +01:00
2015-07-24 13:57:45 +02:00
2018-03-06 14:00:58 +01:00
2017-05-10 10:19:24 +03:00
2018-06-18 11:22:15 +02:00
2018-02-09 13:50:17 +01:00
2014-02-04 19:34:30 +01:00
2016-06-20 18:12:04 +02:00
2018-01-22 09:46:18 +01:00
2016-05-12 13:22:24 +01:00
2016-05-12 13:22:24 +01:00
2014-01-31 14:47:33 +00:00
2018-01-25 11:45:30 +00:00
2018-01-22 09:46:18 +01:00
2014-01-31 14:47:33 +00:00
2016-01-29 15:07:24 +00:00
2018-05-07 11:47:57 +02:00
2018-02-09 13:50:17 +01:00
2018-01-22 09:46:18 +01:00
2018-06-18 11:22:15 +02:00
2018-06-26 16:04:01 +02:00
2018-03-01 11:13:36 +00:00
2017-04-24 12:32:12 +01:00
2018-06-21 21:22:53 +10:00
2018-06-01 15:14:31 +02:00
2016-09-22 18:13:08 +01:00
2014-01-31 14:47:33 +00:00
2018-06-01 14:15:10 +02:00
2018-02-13 16:15:09 +01:00
2018-03-01 11:13:36 +00:00
2018-06-26 16:03:40 +02:00
2017-12-18 17:07:02 +03:00
2017-09-01 13:52:43 +02:00
2017-12-18 17:07:02 +03:00
2017-12-18 17:07:02 +03:00
2018-06-26 16:03:40 +02:00
2018-06-04 09:44:10 +02:00
2018-02-26 13:41:34 +01:00
2018-02-09 13:50:17 +01:00
2018-02-26 13:41:34 +01:00
2018-06-26 16:03:40 +02:00
2017-12-18 17:07:02 +03:00
2018-01-22 09:46:18 +01:00
2018-06-12 12:07:30 +02:00