- 11 Feb, 2018 6 commits
-
-
topjohnwu authored
-
topjohnwu authored
-
topjohnwu authored
-
Andrew Gunnerson authored
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=22647Signed-off-by:
Andrew Gunnerson <andrewgunnerson@gmail.com>
-
Andrew Gunnerson authored
Some functions, like `patch_init_rc()`, treat buffers read into memory as a string instead of a byte buffer. Since the buffers weren't NULL-terminated, this resulted in out-of-bounds reads and caused crashes in certain conditions. THis commit updates fd_full_read() to always NULL-terminate the buffers so that they can be treated as strings when working with text files. Signed-off-by:
Andrew Gunnerson <andrewgunnerson@gmail.com>
-
topjohnwu authored
-
- 10 Feb, 2018 3 commits
- 09 Feb, 2018 2 commits
- 05 Feb, 2018 1 commit
-
-
topjohnwu authored
-
- 01 Feb, 2018 3 commits
- 29 Jan, 2018 4 commits
- 28 Jan, 2018 3 commits
- 27 Jan, 2018 4 commits
- 26 Jan, 2018 1 commit
-
-
topjohnwu authored
-
- 22 Jan, 2018 1 commit
-
-
topjohnwu authored
-
- 12 Jan, 2018 3 commits
- 11 Jan, 2018 2 commits
- 10 Jan, 2018 3 commits
-
-
topjohnwu authored
-
topjohnwu authored
-
Shaka Huang authored
When both keepverity and keepforceencrypt are false, ‘e’ will be freed after removing ‘verity_key’ and segmentation fault might happened in strstr(e->filename, “fstab”) Signed-off-by:
Shaka Huang <shakalaca@gmail.com>
-
- 08 Jan, 2018 4 commits