mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 22:07:39 +00:00
70b7d73453
Previously, if `cpio_vec_insert()` needed to replace a file and the file already exists as the first entry, then a duplicate entry would get created. This fixes the bug I reported at: https://forum.xda-developers.com/showpost.php?p=75449768&postcount=22647 Signed-off-by: Andrew Gunnerson <andrewgunnerson@gmail.com>