- Accessed file->type after freeing file (S. Henson)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@677 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
97119f75e8
commit
fa04f5e4ad
|
@ -230,7 +230,7 @@ int enum_dir(struct sc_path path, int depth)
|
|||
print_file(card, file, &path, depth);
|
||||
file_type = file->type;
|
||||
sc_file_free(file);
|
||||
if (file->type == SC_FILE_TYPE_DF) {
|
||||
if (file_type == SC_FILE_TYPE_DF) {
|
||||
int i;
|
||||
|
||||
r = sc_list_files(card, files, sizeof(files));
|
||||
|
|
Loading…
Reference in New Issue