Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
semodule: avoid toctou on output module
Do not check for file existence and open afterwards, open with the exclusive flag (supported in Glibc and musl 0.9.6 and also standardized in C11). Found by GitHub CodeQL. Signed-off-by: Christian Göttsche <[email protected]> Acked-by: Nicolas Iooss <[email protected]>
- Loading branch information