Skip to content

Commit 40a0b60

Browse files
committed
fixed a NPE
1 parent c720531 commit 40a0b60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cSploit/src/org/csploit/android/core/System.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ public static KnownIssues getKnownIssues() {
945945
}
946946

947947
public static String getMacVendor(byte[] mac){
948-
if(mac != null && mac.length >= 3)
948+
if(mac != null && mVendors != null && mac.length >= 3)
949949
return mVendors.get(String.format("%02X%02X%02X", mac[0], mac[1], mac[2]));
950950
else
951951
return null;

0 commit comments

Comments
 (0)