aacid created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. aacid requested review of this revision.
REVISION 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 REPOSITORY R287 KImageFormats BRANCH master REVISION DETAIL https://phabricator.kde.org/D25937 AFFECTED FILES src/imageformats/pic.cpp src/imageformats/pic_p.h To: aacid Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns