Skip to content

TestCov: remove tmpnam (minor) #557

@gchabert

Description

@gchabert

Following warning appears on Linux:

TestCov.cpp.o: in function `TestCov::read_covfile(TestCov::ScenarioType)':
TestCov.cpp:(.text+0xd104): warning: the use of `tmpnam' is dangerous, better use `mkstemp'

and on MacOS:

Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions