summaryrefslogtreecommitdiff
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-04-01 07:52:20 -0700
committerMark Salyzyn <salyzyn@google.com>2016-04-01 12:54:10 -0700
commit1ab87e7712cea615ecdf70e65d74d14d3fd8fa85 (patch)
treeb2775e426086fb9619cc191447b176aeffd45ba8 /init/builtins.cpp
parent71f6b9569c2c707d061b96e48021b4be617e40a4 (diff)
logcat: -f <non-existent-directory>/<filename> segfaults
(cherry pick from commit c18c2130d036b115b222860366a97e26a2a1c038) - Check if the result of opendir is NULL in lastLogTime - Cleanup: alphabetically sorted long options, reserved an alias for --regex - Add a unit test, non existent directory should return gracefully with an exit(1) and not SIGSEGV. NB: This failure was with eng/debug feature logpersist turned on, /data/misc/logd/ directory was missing, deleted, or temporarily inaccessible. Bug: 27954627 Change-Id: I60246a53b02fdd7e5490fe458b02ad7b14843584
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions