diff options
author | Benjamin Barenblat <bbaren@google.com> | 2020-05-13 13:37:24 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2020-05-13 13:37:24 -0400 |
commit | f099f30489f958c4466b83ecb0427f28b9c11e9d (patch) | |
tree | 29e349aff2488d9671f047c33c1ead1195e33bfa /.gitignore | |
parent | 1763cf8ac3720104bdd72d5b631eed3b467e69fc (diff) |
Avoid a potential uninitialized use
If `read_device` fails to open a directory, it frees `ent_path` without
ever assigning to it. Explicitly initialize `ent_path` with `NULL` to
prevent that uninitialized use.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions