Mercurial > hg > openjdk > icedtea > jdk7 > jdk
changeset 5403:9b727b561f58
7153693: Three 2D_ImageIO tests failed due ImageFormatException on OEL 6.* Unbreakable Kernel x64
Reviewed-by: jgodinez, prr
author | bae |
---|---|
date | Fri, 15 Jun 2012 18:48:41 +0400 |
parents | fd2ca62fe5e0 |
children | fb047b05f1af |
files | src/share/native/sun/awt/image/jpeg/jpegdecoder.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/native/sun/awt/image/jpeg/jpegdecoder.c Fri Jun 15 12:19:18 2012 +0400 +++ b/src/share/native/sun/awt/image/jpeg/jpegdecoder.c Fri Jun 15 18:48:41 2012 +0400 @@ -337,7 +337,7 @@ /* Save the data currently in the buffer */ offset = src->pub.bytes_in_buffer; if (src->pub.next_input_byte > src->inbuf) { - memcpy(src->inbuf, src->pub.next_input_byte, offset); + memmove(src->inbuf, src->pub.next_input_byte, offset); } RELEASE_ARRAYS(env, src); buflen = (*env)->GetArrayLength(env, src->hInputBuffer) - offset;