ROCR-Runtime icon indicating copy to clipboard operation
ROCR-Runtime copied to clipboard

warning: the use of `tempnam' is dangerous, better use `mkstemp'

Open PhilipDeegan opened this issue 5 years ago • 1 comments

https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/0d9576a5cba4ca4bd17bd2a4a744e59151fcdf9c/src/libamdhsacode/amd_hsa_code_util.cpp#L962

PhilipDeegan avatar Jun 27 '20 22:06 PhilipDeegan

@PhilipDeegan Apologies for the lack of response. Internal ticket has been created to fix this. Thanks!

ppanchad-amd avatar Aug 16 '24 19:08 ppanchad-amd

Hi @PhilipDeegan,

Thanks for the suggestion! This has since been implemented here: mkstemp change to use mkstemp instead of tempnam. Thanks!

darren-amd avatar Oct 15 '24 20:10 darren-amd