Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tool

Version

Checker

Description

CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

IO.RACE

(customization)

File System Race Condition

Users can implement a custom check that triggers a warning if a file-opening function is called on a file that is already open.

LDRA tool suite

Include Page
LDRA_V
LDRA_V

75 D

Fully implemented

...

Related Guidelines

CERT C++ Secure Coding StandardFIO31FIO21-CPP. Do not simultaneously open the same file multiple times
MITRE CWECWE-362, Concurrent Execution Using Shared Resource with Improper Synchronization ("Race Condition")
CWE-675, Duplicate Operations on Resource

...