The comparison is clearly wrong: if objc == 3 one cannot access objv[3] since that is the 4th element. BTW, this bug has been here since at least 2006. I guess no one uses TclMagick. Maybe it's too much bother to compile?
This problem is now fixed in Mercurial. Thanks for reporting the issue and providing a patch.
Log in to post a comment.
This problem is now fixed in Mercurial. Thanks for reporting the issue and providing a patch.