Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit be2d7dd4 authored by Luis Hector Chavez's avatar Luis Hector Chavez Committed by Elliott Hughes
Browse files

Avoid crashing when a directory does not exist

This change adds a null-check for the DIR* object to avoid a crash when
the directory cannot be opened for any reason.

(cherrypick of d0512717)

Bug: 74568776
Test: calling dumpstate early in the boot sequence no longer crashes
Change-Id: I6c80f38dcf7890e607ce73e25a8ec0e16ba92586
Merged-In: I6c80f38dcf7890e607ce73e25a8ec0e16ba92586
parent 402085b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment