diff options
author | Sverker Eriksson <[email protected]> | 2016-06-20 17:33:13 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-06-20 18:50:02 +0200 |
commit | 9f779819f6bda734c5953468f77987b73943de35 (patch) | |
tree | 8d7f71e6a482de7a28ace8b9101ce509b618c7cc /lib | |
parent | f91576820fd84c08fd2d3c9675b7801738740d4a (diff) | |
download | otp-9f779819f6bda734c5953468f77987b73943de35.tar.gz otp-9f779819f6bda734c5953468f77987b73943de35.tar.bz2 otp-9f779819f6bda734c5953468f77987b73943de35.zip |
erts: Fix spawn driver when env size is above pipe capacity
Symptom: open_port() succeeds, port program never starts but instead
seem to terminate with exit_status 150 (EINVAL+128).
When: If the command payload buffer (including the entire environment)
for the port program is between 1 to 4 bytes above the pipe capacity,
which is 65536 bytes on newer Linux, but can be as low as 4096 on older
32-bit Linux.
Since: OTP-19.0-rc1.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions