Skip to content

java.lang.NullPointerException. CVEDetails$Receiver.checkCompatibility(CVEDetails.java:61) #392

@gustavo-iniguez-goya

Description

@gustavo-iniguez-goya

problem present on all branches.

java.lang.NullPointerException
at org.csploit.android.net.datasource.CVEDetails$Receiver.checkCompatibility(CVEDetails.java:61)
at org.csploit.android.net.datasource.CVEDetails$Receiver.onContentFetched(CVEDetails.java:98)
at org.csploit.android.net.RemoteReader$Notifier.run(RemoteReader.java:182)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)

      target = exploit.getParent();

      if(!target.hasOpenPorts()) {

So something like this should do the trick if(target == null || !target.hasOpenPorts()) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions