Project

General

Profile

Actions

Bug #5308

closed

file handling: avoid toctou race conditions

Added by Philippe Antoine 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

By using functions using file descriptors of opened files instead of using the file name
As suggested by CodeQL

cf https://github.com/OISF/suricata/pull/7304#issuecomment-1109710149

Actions

Also available in: Atom PDF