We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak in WritePDBImage
runlength=(unsigned char *) AcquireQuantumMemory(9UL*packets, //line 846, allocation for runlength image->rows*sizeof(*runlength)); buffer=(unsigned char *) AcquireQuantumMemory(512,sizeof(*buffer)); scanline=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* sizeof(*scanline));
quantum_info=AcquireQuantumInfo(image_info,image); if (quantum_info == (QuantumInfo *) NULL) ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed"); //line 871, memory leak as not free runlength
Credit: ADLab of Venustech
The text was updated successfully, but these errors were encountered:
https://github.com/ImageMagick/ImageMagick/issues/1050
74f8b6c
11fb9ec
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.
Sorry, something went wrong.
This was assigned CVE-2018-17966.
No branches or pull requests
Prerequisites
Description
Memory leak in WritePDBImage
Steps to Reproduce
System Configuration
Credit: ADLab of Venustech
The text was updated successfully, but these errors were encountered: