HomeClusterLabs Projects

coroparse: Suppress coverity toctou error

Description

coroparse: Suppress coverity toctou error

TOCTOU issue really exists, but it's not a really problem.

Solution would be to open file and then call fstat, but I don't think
it's really worth the trouble so rather add coverity specific comment
to suppress this error.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>

Details

Provenance
jfriesseAuthored on Wed, Jul 23, 3:58 AM
Parents
rCc80a9067226a: cpg: Add comment about potential resource leak
Branches
Unknown
Tags
Unknown