Skip to content

Conversation

@4JustMe4
Copy link
Contributor

@4JustMe4 4JustMe4 commented Oct 28, 2025

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practices as demonstrated in the repository.

Description

Size of clone_wands shoud be equal to number_wands times sizeof(*clone_wands). If we use & we can't recieve more than sizeof(PixelWand*) (some constant). So this code will ClonePixelWand into some dirty memory

@dlemstra
Copy link
Member

Thanks for fixing this for us! Looks like that typo has been in there for ages.

@dlemstra dlemstra merged commit a8ee3b2 into ImageMagick:main Oct 28, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants