[frameworks-kimageformats] [Bug 479612] Massive memory leak when looking at a file

Albert Astals Cid bugzilla_noreply at kde.org
Thu Jan 11 18:51:08 GMT 2024


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

--- Comment #5 from Albert Astals Cid <aacid at kde.org> ---
I'm not sure there's an actual bug, the header of the file describes an image
of 41039 * 63040 in size, and thus lots of memory is needed to load it to
memory.

You'd have to send us the actual file to confirm if it's a TGA file or not and
if not if we could bail earlier.

As a side thing, the QImageReader API would probably welcome a function saying
"fail if we try to read a file bigger than AxB in size"?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list