diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-28 00:44:42 -0600 |
|---|---|---|
| committer | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-28 00:44:42 -0600 |
| commit | de0d26a1e6b2916996867c4c11f5146302720587 (patch) | |
| tree | 50c14b4754d61e08a9769b551137ced10716f9b8 /scripts/git@git.abendless.com:/srv | |
| parent | 06e1dd50e4c2e93150b4e14ee2cbed566900cd3a (diff) | |
| download | zash-de0d26a1e6b2916996867c4c11f5146302720587.tar.gz | |
fix(redir): reject a TMPDIR too long for the here-document path
The snprintf() into path[PATH_MAX] was unchecked: with a TMPDIR longer than
that, the name was truncated and mkstemp() could be pointed at a different
directory than the one meant. The length is now checked and the here
document falls back to the pipe it already uses on failure.
Diffstat (limited to 'scripts/git@git.abendless.com:/srv')
0 files changed, 0 insertions, 0 deletions
