Expected behavior
I expect eom to be able to handle the input image correctly without consuming excessive system resources.
Actual behavior
When I open a JPG file with eom, it consumes a significant amount of system memory, resulting in it consuming all available RAM (16 GB).
Steps to reproduce the behavior
- Run the eom utility with the file:
- Monitor the system memory usage while opening the file.
- The eom memory consumption increases significantly, eventually consuming all available RAM.
The problem occurs all the time and is specific to the particular synthetic file created to test boundary resources (with a maximum supported image size of 65500 pixels):
Input file data:
affect_163: JPEG image data, JFIF standard 1.01, resolution (DPI), density 300x300, segment length 16, progressive, precision 8, 65435x65493, components 3
I will assume that uncontrolled memory consumption is a problem, because it could allow an unauthorized user to temporarily disable the environment in which the utility will run, in the absence of the OOM-killer.
MATE general version
MATE Desktop Environment 1.26.0
Package version
Eye of MATE Image Viewer 1.26.0
Linux Distribution
RHEL Release 7.3.2 (5.15.87-1.el7.3.x86_64)
Links
image:affect_163 *should testing in sandbox
valgrind log
Expected behavior
I expect eom to be able to handle the input image correctly without consuming excessive system resources.
Actual behavior
When I open a JPG file with eom, it consumes a significant amount of system memory, resulting in it consuming all available RAM (16 GB).
Steps to reproduce the behavior
`which eom` ./affect_163The problem occurs all the time and is specific to the particular synthetic file created to test boundary resources (with a maximum supported image size of 65500 pixels):
Input file data:
I will assume that uncontrolled memory consumption is a problem, because it could allow an unauthorized user to temporarily disable the environment in which the utility will run, in the absence of the OOM-killer.
MATE general version
MATE Desktop Environment 1.26.0Package version
Eye of MATE Image Viewer 1.26.0Linux Distribution
RHEL Release 7.3.2 (5.15.87-1.el7.3.x86_64)Links
image:affect_163 *should testing in sandbox
valgrind log