Hrvoje Senjan 2016-02-06 18:20:55 +00:00 committed by Git OBS Bridge
parent a2cea8056c
commit 2bd7907605
2 changed files with 1 additions and 31 deletions

View File

@ -1,31 +0,0 @@
From: Wolfgang Bauer <wbauer@tmo.at>
Date: Sun, 10 Jan 2016 12:24:35 +0000
Subject: fix loading of RLE compressed PSD files
X-Git-Url: http://quickgit.kde.org/?p=kimageformats.git&a=commitdiff&h=5d7ef7c38e9f6aa473fec5ee7f1daabcb405ffd7
---
fix loading of RLE compressed PSD files
decodeRLEData() expects a quint16 as length, but the PSD loader calls it
with a quint32.
We do need quint32 for PSD, otherwise it would overflow for images
bigger than 256x256 pixels (it's the pixel count there, i.e. width x
height).
BUG: 354413
FIXED-IN: 5.19.0
REVIEW: 126684
---
--- a/src/imageformats/rle_p.h
+++ b/src/imageformats/rle_p.h
@@ -75,7 +75,7 @@
static inline bool decodeRLEData(RLEVariant variant,
QDataStream &stream,
Item *dest,
- quint16 length,
+ quint32 length,
Func1 readData,
Func2 updateItem)
{

View File

@ -4,6 +4,7 @@ Sat Feb 6 18:03:26 UTC 2016 - hrvoje.senjan@gmail.com
- Update to 5.19.0
* For more details please see:
https://www.kde.org/announcements/kde-frameworks-5.19.0.php
- Drop upstreamed fix-psd.patch
-------------------------------------------------------------------
Fri Jan 8 20:35:13 UTC 2016 - wbauer@tmo.at