Menu

#18 JVM Crash when extracting password protected archive and passing null as a password

15.09-2.01beta
open
None
5
2016-02-26
2014-02-15
user578
No

Crash occurs when calling ISevenZipInArchive.extract for password protected archive (zip, rar and 7z tested) and passing null as password.
Yes, null is incorrect value for password. But ain't it should throw exception? Or maybe transform null to empty String?

Error log:

# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005f312fa5, pid=8924, tid=6604
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V  [jvm.dll+0x122fa5]

Environment:
Windows 7 x64
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

PS Thanks for this great library.

Discussion

  • Boris Brodski

    Boris Brodski - 2014-02-15

    Thank you for the great bug report. I will fix it in upcoming version.

     
  • Boris Brodski

    Boris Brodski - 2016-02-26
    • Group: 4.65-1.06rc-extr-only --> 15.09-2.01beta
     

Log in to post a comment.

MongoDB Logo MongoDB