aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2020-05-13 13:37:24 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2020-05-13 13:37:24 -0400
commitf099f30489f958c4466b83ecb0427f28b9c11e9d (patch)
tree29e349aff2488d9671f047c33c1ead1195e33bfa /README.md
parent1763cf8ac3720104bdd72d5b631eed3b467e69fc (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 'README.md')
0 files changed, 0 insertions, 0 deletions