Search found 1 match

by bernhard
2011-03-25T04:22:09-07:00
Forum: Developers
Topic: Memory access bug in string.c
Replies: 1
Views: 4929

Memory access bug in string.c

Hi!

I found a invalid memory access bug detected in the actual SVN-Version of magick/string.c

The memcpy() commands exceeds the length of the source string in CloneString(), AcquireString() and ConstantString().

<(void) memcpy(destination,source,length*sizeof(*destination));
>(void) memcpy ...