diff options
author | Daniel White <[email protected]> | 2015-01-17 19:20:41 +1100 |
---|---|---|
committer | Daniel White <[email protected]> | 2015-01-17 19:37:16 +1100 |
commit | aaa7c91756da6eb4435c9a23f4725dcc1dc147aa (patch) | |
tree | a1da4bfee9a41fbb95faf01bd8064ea96c8a492b /lib/cosTransactions/ebin | |
parent | 905824012cef106e7bd3796bff36a2aa04b58850 (diff) | |
download | otp-aaa7c91756da6eb4435c9a23f4725dcc1dc147aa.tar.gz otp-aaa7c91756da6eb4435c9a23f4725dcc1dc147aa.tar.bz2 otp-aaa7c91756da6eb4435c9a23f4725dcc1dc147aa.zip |
Prevent zip:zip_open/1,2 from leaking ports
The case was discovered where a parent process would exit before closing
the zip file. The result was that a port would be left open
indefinitely, as the small zip server would not detect this condition.
By comparison, the file module will close the associated port when the
parent exits for any reason. This change would make the zip module more
consistent with the semantics of similar modules.
This change is breaking for any callers expecting to pass the handle to
another process for processing (assuming it exits).
Diffstat (limited to 'lib/cosTransactions/ebin')
0 files changed, 0 insertions, 0 deletions