commit | 004dc9549b8003288e635ba5aa91e3353e1974c4 | [log] [tgz] |
---|---|---|
author | Will Dietz <w@wdtz.org> | Thu Sep 14 16:32:59 2017 -0500 |
committer | Rich Felker <dalias@aerifal.cx> | Thu Oct 19 19:04:16 2017 -0400 |
tree | 8297be6882fe4bb666067284173bc0609354263c | |
parent | 2cd663fb2d576d590a08c1e40386c07b378d5ad6 [diff] |
posix_spawn: use larger stack to cover worst-case in execvpe execvpe stack-allocates a buffer used to hold the full path (combination of a PATH entry and the program name) while searching through $PATH, so at least NAME_MAX+PATH_MAX is needed. The stack size can be made conditionally smaller (the current 1024 appears appropriate) should this larger size be burdensome in those situations.