https://bugs.kde.org/show_bug.cgi?id=465148

amyspark <a...@amyspark.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/48f04b57c |hics/krita/commit/291a841ec
                   |926fd464f80f4823e7d956e5330 |2bf72459b2c17b9106c7eafc766
                   |3e2e                        |037c

--- Comment #8 from amyspark <a...@amyspark.me> ---
Git commit 291a841ec2bf72459b2c17b9106c7eafc766037c by L. E. Segovia.
Committed on 22/04/2023 at 15:23.
Pushed by lsegovia into branch 'master'.

psd: fix interpretation of layer mask/adjustment layer data lengths

The standard says:
> Size of the data: Check the size and flags to determine what is or is not 
> present. If zero, the following fields are not present

Up to 18 bytes can be read safely in this way. After the 2 bytes for padding
(if size == 20), the rest of the data is conditional on each flag allowing
the data, and the block length allowing the read.

M  +118  -26   libs/psd/psd_layer_record.cpp

https://invent.kde.org/graphics/krita/commit/291a841ec2bf72459b2c17b9106c7eafc766037c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to