Search found 2 matches

by thakis
2013-12-27T17:52:49-07:00
Forum: Developers
Topic: Bug in ValidateEntities() in MagickCore/xml-tree.c
Replies: 1
Views: 3247

Re: Bug in ValidateEntities() in MagickCore/xml-tree.c

I also reported this through the "contact developers" form, and received this reply:

"""We can reproduce the problem you posted and have a patch in ImageMagick 6.8.8-1 Beta, available by sometime tomorrow. Thanks."""
by thakis
2013-12-27T16:47:23-07:00
Forum: Developers
Topic: Bug in ValidateEntities() in MagickCore/xml-tree.c
Replies: 1
Views: 3247

Bug in ValidateEntities() in MagickCore/xml-tree.c

Hi,

in MagickCore/xml-tree.c, function ValidateEntities contains this code:

while ((entities != (char *) NULL) &&
(strncmp(entities ,xml+1,strlen(entities ) == 0)))

Note that the parenthesis for the strncmp is wrong: it is `strncmp(a, b, strlen() == 0)` but should be `strncmp(a, b, strlen ...