commit | d9a9616195e9eda2c5651356d208e626f6c650e5 | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Thu Dec 20 17:44:35 2012 +0000 |
committer | Dees_Troy <dees_troy@teamw.in> | Thu Dec 20 17:44:35 2012 +0000 |
tree | bbc7999b03b1416fa68d22dcf34e417829006b1c | |
parent | 8e40d68db6479360e172c5725077d385f9f8ffe5 [diff] |
Increase array size to fix crashes on some devices
diff --git a/twrp-functions.cpp b/twrp-functions.cpp index b121c8a..3a2658e 100644 --- a/twrp-functions.cpp +++ b/twrp-functions.cpp
@@ -186,7 +186,7 @@ DIR* d; struct dirent* de; struct stat st; - char path2[1024], filename[1024]; + char path2[4096], filename[4096]; unsigned long long dusize = 0; // Make a copy of path in case the data in the pointer gets overwritten later