Skip to content

Commit

Permalink
Fixed crash when authenticating (Android 14).
Browse files Browse the repository at this point in the history
  • Loading branch information
ikarus23 committed Jan 27, 2024
1 parent c61a7de commit a3decac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ private boolean authenticate(int sectorIndex, byte[] key,
// Key B.
ret = mMFC.authenticateSectorWithKeyB(sectorIndex, key);
}
} catch (IOException | ArrayIndexOutOfBoundsException e) {
} catch (IOException | ArrayIndexOutOfBoundsException | SecurityException e) {
Log.d(LOG_TAG, "Error authenticating with tag.");
return false;
}
Expand Down

0 comments on commit a3decac

Please sign in to comment.