ignore=(TIFFFieldInfo *) AcquireQuantumMemory(count,sizeof(*ignore)); //line 2224
/* This also sets field_bit to 0 (FIELD_IGNORE) */
ResetMagickMemory(ignore,0,count*sizeof(*ignore));
AcquireQuantumMemory(...) may return NULL, so ResetMagickMemory(...) will access Null pointer to cause memory error.
Credit: ADLab of Venustech
The text was updated successfully, but these errors were encountered:
ImageMagick 7.0.7-0 Q16 x86_64
Here is the critical code:
AcquireQuantumMemory(...) may return NULL, so ResetMagickMemory(...) will access Null pointer to cause memory error.
Credit: ADLab of Venustech
The text was updated successfully, but these errors were encountered: