HomeClusterLabs Projects
Diffusion Booth 8e45a1ae6b1f

Low: main: fix hypothetical file path double traversal discrepancy

Description

Low: main: fix hypothetical file path double traversal discrepancy

Now we check retrospectively once the file held firmly, i.e.,, there's
a single path traversal only, just in case.

Since fstat appears just as standards compliant as mere stat, there's
nothing (not even lightness on resources/system limits since opening
the file is on the likely, happy path).precluding such an arrangement.

Discovered-by: static analysis/Coverity
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Jan 9 2019, 4:52 PM
Parents
rBde6837c18e22: Med: attr: fix derefence of unspecified value pointer
Branches
Unknown
Tags
Unknown

Event Timeline