Created attachment 204741 [details]
patch to avoid race condition / file tampering
During the initialization net/rtg uses /tmp/mysql.sql and /tmp/rtg.sql to store the actions to be performed in the database at the end of the script.
Using well known files can lead to a race condition between two process who uses the same file names and allow file tampering.
This patch introduces the mktemp command to create the temporary file in safer way.
Reporter is committer, assign accordingly
waiting a little bit more for maintainer feedback.