hg: jdk7/tl/jdk: 6858865: Fix for 6728376 causes regression if the size of "data" is 0 and malloc returns Null for 0-length

xueming.shen at oracle.com xueming.shen at oracle.com
Mon Nov 22 16:02:20 PST 2010


Changeset: 0049b9a85e74
Author:    sherman
Date:      2010-11-22 16:03 -0800
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/0049b9a85e74

6858865: Fix for 6728376 causes regression if the size of "data" is 0 and malloc returns Null for 0-length
Summary: don't throw OOME when in or out buffer size is 0 length
Reviewed-by: alanb

! src/share/native/java/util/zip/Deflater.c
! src/share/native/java/util/zip/Inflater.c




More information about the security-dev mailing list