Florian Müllner 925a25da17 st: Avoid integer overflow on unpremultiply
When computing the effective border color, we operate on colors with
premultiplied alpha to simplify the calculations, then unpremultiply
the result. However we miss a bounds check in the last check, so any
color component can overflow the allowed maximum of 0xff and shift the
result in unexpected ways.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/305
2018-12-04 15:55:39 +00:00
..
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2018-11-23 13:58:35 +01:00
2015-10-15 22:59:49 +02:00
2018-01-12 11:48:49 +01:00
2018-01-12 11:48:49 +01:00
2018-07-06 19:56:19 +02:00
2018-07-30 21:23:28 -03:00
2017-08-02 11:27:42 +01:00
2015-10-15 22:58:28 +02:00