Review Request: limit the amount of columns & rows of any layer

Jaime Torres Amate jtamate at
Fri Oct 7 19:24:21 BST 2011

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs.


Looking at the xcf loader in gimp, I think the limit could be 16 or 255, but 1024 also works.
The bad xcf in the bug tries to create around 3600000 rows and columns, filling all the memory in seconds (until linux kills the process).
That way, the maximum memory for that file is only around 256M.
By the way, the gimp is also unable to open that file.

This addresses bug 234030.


  kimgio/xcf.cpp 2a03d03 



not oom killer in action.


Jaime Torres Amate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list