summary refs log tree commit diff
path: root/src/nodetypes
diff options
context:
space:
mode:
authorMichael Greenberg <michael.greenberg@pomona.edu>2020-04-29 20:04:21 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2020-05-15 16:24:38 +1000
commit2b6a5a30eeae293ca50d849bc1dae15f27044f99 (patch)
treea3035150efc600620203256ead9f34a39571958c /src/nodetypes
parentexpand: Remove unused expandmeta() flag parameter (diff)
downloaddash-2b6a5a30eeae293ca50d849bc1dae15f27044f99.tar.gz
dash-2b6a5a30eeae293ca50d849bc1dae15f27044f99.zip
shell: mktokens relative TMPDIR
The mktokens script fails when /tmp isn't writable (e.g., when building
in a sandbox with a different TMPDIR). Replace absolute references to
/tmp to relative references to TMPDIR. If TMPDIR is unset or null,
default to /tmp.

The mkbuiltins script was already hardened to work relative to TMPDIR,
also defaulting to /tmp.

v2 ensures that TMPDIR is quoted.
v3 adds an extra quotation that prevents extra pathname expansions.

Signed-off-by: Michael Greenberg <michael.greenberg@pomona.edu>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/nodetypes')
0 files changed, 0 insertions, 0 deletions
href='/libretls/commit/tls.c?h=3.5.2&id=15afbfa70cb6102c3c7ef0cecc6e83cb1730909b&follow=1'>tls: Use EC_KEY_set_ex_dataJune McEnroe 2021-04-18Import LibreSSL 3.3.2June McEnroe 2021-03-05Bump version to 3.3.1p1 3.3.1p1June McEnroe 2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe 2020-12-15Import LibreSSL 3.3.1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe