[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#9062) Please have /build/mkdep respect TMPDIR if set
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#9062) Please have /build/mkdep respect TMPDIR if set
- From: zagarc@oclc.org
- Date: Sun, 11 Aug 2019 18:34:00 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Chris Zagar
Version: 2.4.48
OS: Linux
URL:
Submission from: (NULL) (68.98.212.84)
/build/mkdep contains this line:
TMP=/tmp/mkdep$$
that forces the use of the /tmp directory. The /tmp directory is vulnerable to
race conditions. The rest of OpenLDAP obeys the TMPDIR environment variable if
it exists as a mitigation to this risk. Would you please consider changing this
to:
TMP=${TMPDIR-/tmp}/mkdep$$
so this will obey TMPDIR as well?
Thank you.
Chris Zagar
zagarc@oclc.org