appRandom might be null in DSASignature (it is not initialized), yet in the 
method "public byte[] engineSign()" appRandom is used which causes an NPE.

Casey Marshall sent me the attached replacement DSASignature.java file and it 
works.

-- 
           Summary: libgcj DSASignature.java null pointer exception
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ovidr at users dot sourceforge dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19729

Reply via email to