Skip to content

Conversation

@parkera
Copy link
Contributor

@parkera parkera commented Mar 18, 2024

We work around the security issue with mktemp by checking for the existence of a conflict and retrying if necessary. The comment already in the source code explains why we can't use mkstemp. To avoid this warning appearing for every client of the package, work around it by adding a C shim before we call it.

@parkera
Copy link
Contributor Author

parkera commented Mar 18, 2024

@swift-ci test

@parkera parkera force-pushed the parkera/avoid_mktemp_warning branch from 94cd4a2 to 5aedca6 Compare March 20, 2024 20:29
@parkera
Copy link
Contributor Author

parkera commented Mar 20, 2024

@swift-ci test

1 similar comment
@DougGregor
Copy link
Member

@swift-ci test

@DougGregor
Copy link
Member

Huh, the Linux one picked up yesterday's toolchain

@DougGregor
Copy link
Member

@swift-ci please test Linux

@DougGregor
Copy link
Member

@swift-ci please clean test Linux

@DougGregor
Copy link
Member

@swift-ci please test Linux

@DougGregor
Copy link
Member

Well, we got the new toolchain on Linux, but gold is failing to link on Linux

@parkera
Copy link
Contributor Author

parkera commented Mar 28, 2024

@swift-ci test

@parkera parkera force-pushed the parkera/avoid_mktemp_warning branch from 5aedca6 to bf1138b Compare June 13, 2024 16:37
@parkera
Copy link
Contributor Author

parkera commented Jun 13, 2024

@swift-ci test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants