mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-06 18:12:17 +00:00
Prevent duplicates when "." or ".." occurs
This commit is contained in:
@@ -77,6 +77,7 @@ cpio::cpio(const char *filename) {
|
|||||||
delete entry;
|
delete entry;
|
||||||
if (trailer)
|
if (trailer)
|
||||||
break;
|
break;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
arr.push_back(entry);
|
arr.push_back(entry);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user