Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)' on a null object reference in IOTWifiModule.java #12

@nkovacic

Description

@nkovacic

There is a potential null pointer issue in IOTWifiModule.java, where SSID could still be null if nInfo also returns null.

An additional check should be made: if (ssid != null && ssid.startsWith("\"") && ssid.endsWith("\"")) {ssid = ssid.substring(1, ssid.length() - 1); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions