Vincent Rabaud
542b3e8a64
Fix harmless signed integer overflow.
...
When computing:
t1 = (bayer[1] + bayer[bayer_step] + bayer[bayer_step+2] + bayer[bayer_step*2+1])*G2Y;
there is a T (unsigned short or char) multiplied by an int which can overflow.
Then again, it is stored to t1 which is unsigned so the overflow disappears.
Keeping all unsigned is safer.
2021-12-13 23:43:49 +01:00
..
2021-11-27 18:34:52 +00:00
2021-12-09 12:04:26 +01:00
2021-04-01 02:26:59 +00:00
2020-04-15 23:25:12 +09:00
2020-06-17 09:09:40 +00:00
2021-10-01 23:17:02 +09:00
2020-08-21 23:52:30 +09:00
2021-01-25 13:32:43 +00:00
2019-08-08 21:49:32 +09:00
2021-10-27 12:01:53 -07:00
2019-02-18 06:03:12 +00:00
2019-12-13 17:52:40 +03:00
2021-12-02 17:14:48 +00:00
2021-11-27 18:34:52 +00:00
2021-11-27 18:34:52 +00:00
2021-11-27 18:34:52 +00:00
2021-11-18 21:19:05 +01:00
2021-12-13 23:43:49 +01:00
2021-10-02 16:06:33 +02:00
2021-11-26 12:29:56 +01:00
2021-11-27 18:34:52 +00:00
2021-12-02 18:35:33 +03:00
2021-11-18 21:19:05 +01:00
2021-12-08 18:51:34 +00:00
2019-04-10 18:35:35 +00:00
2021-04-20 22:08:01 -04:00
2021-08-28 17:11:26 +00:00
2021-11-27 18:34:52 +00:00
2021-09-25 23:06:50 +03:00
2021-11-27 18:34:52 +00:00
2019-09-23 18:36:18 +03:00
2020-04-26 00:17:39 -06:00