Albert Astals Cid f03739f222 pic: Fix Invalid-enum-value undefined behaviour
Summary:
Instead of directly casting the quint8 to PicChannelEncoding we just store the quint8
and compare it to the possible PicChannelEncoding values when needed

oss-fuzz/19344

Reviewers: dfaure

Reviewed By: dfaure

Subscribers: dfaure, security-team, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D25937
2019-12-14 21:05:02 +01:00
..
2018-10-22 19:58:24 +03:00
2018-09-17 11:56:58 +02:00
2018-10-22 19:58:24 +03:00
2019-04-17 17:37:28 +02:00
2019-04-17 17:37:28 +02:00
2018-05-23 08:06:50 +02:00
2019-04-17 17:37:28 +02:00
2018-05-23 08:06:50 +02:00
2018-10-22 19:58:24 +03:00
2019-04-17 17:37:28 +02:00
2018-10-22 19:58:24 +03:00
2019-01-29 10:53:30 +01:00
2018-10-22 19:58:24 +03:00
2018-10-22 19:58:24 +03:00
2018-10-22 19:58:24 +03:00
2018-10-22 19:58:24 +03:00
2019-09-05 20:05:35 +02:00
2018-10-22 19:58:24 +03:00