Update card-oberthur.c

This commit is contained in:
ihsinme 2021-02-05 18:27:42 +03:00 committed by Jakub Jelen
parent 0a3d7a28a7
commit 6372adeb20
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ auth_select_file(struct sc_card *card, const struct sc_path *in_path,
}
}
if (path.len - offs > 0) {
if (path.len > offs) {
struct sc_path tmp_path;
memset(&tmp_path, 0, sizeof(struct sc_path));