Name: ks88420 Date: 11/17/2000
java version "1.3beta" (and merlin-beta)
Java(TM) 2 Runtime Environment, Standard Edition (build randy-000811-12:17)
Classic VM (build randy-000811-12:17, native threads, sunwjit)
in ZIP_ReadEntry, after the call to InflateFully, there is a check if *msg == 0,
however it is possible for msg to be NULL, so *msg SEGV's. The check should then
be (msg==0 || *msg==0) (if *msg is even required.) The other possible solution
would be to make sure that all failure cases of InflateFully set *msg.
TEST CASE:
Run in a limited memory model where memory runs out in inflate_blocks_new.
======================================================================
- duplicates
-
JDK-4392544 SEGV in ZIP_ReadEntry
-
- Closed
-