Skip to content

psd: Fix crash on broken files

Albert Astals Cid requested to merge work/aacid/ossfuzz46664 into master

Instead of resizing the bytearray to the potential size and then reading into it, ask the device to read into a bytearray, this way instead of a crash because we're trying to resize to a too big number we get a nice maxSize argument exceeds QByteArray size limit warning

oss-fuzz/46664

Merge request reports

Loading