[Y] I have verified that I am using the latest version of ImageMagick
[Y] I have searched open and closed issues to ensure it has not already been reported
Description
In ImageMagick/MagickCore/log.c:675, we can see a function GetNextValueInLinkedList(). p=(LogInfo *) GetNextValueInLinkedList(log_cache);, then the code use p->event_mask in the line 676 but don't check the point p. In the function GetNextValueInLinkedList(), it will return NULL point if list_info->next == (ElementInfo *) NULL.
In ImageMagick/MagickCore/coder.c:350, we can see the code check the value of option, but in ImageMagick/MagickCore/log.c, we don't have this check.
The text was updated successfully, but these errors were encountered:
Prerequisites
Description
In ImageMagick/MagickCore/log.c:675, we can see a function GetNextValueInLinkedList().
p=(LogInfo *) GetNextValueInLinkedList(log_cache);, then the code use p->event_mask in the line 676 but don't check the point p. In the function GetNextValueInLinkedList(), it will return NULL point iflist_info->next == (ElementInfo *) NULL.In ImageMagick/MagickCore/coder.c:350, we can see the code check the value of option, but in ImageMagick/MagickCore/log.c, we don't have this check.
The text was updated successfully, but these errors were encountered: