-
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>
5ad4702a
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
core | ||
external | ||
include | ||
magiskboot | ||
magiskhide | ||
magiskpolicy @ 2f4062a9 | ||
resetprop | ||
su @ ed5dd827 | ||
utils | ||
Android.mk | ||
Application.mk | ||
b64xz.c |