Patch Package: OTP 17.4.1 Git Tag: OTP-17.4.1 Date: 2015-02-03 Trouble Report Id: OTP-12429, OTP-12436, OTP-12445, OTP-12446, OTP-12447 Seq num: seq12786 System: OTP Release: 17 Application: erts-6.3.1, inets-5.10.5 Predecessor: OTP 17.4 Check out the git tag OTP-17.4.1, and build a full OTP system including documentation. Apply one or more applications from this build as patches to your installation using the 'otp_patch_apply' tool. For information on install requirements, see descriptions for each application version below. --------------------------------------------------------------------- --- erts-6.3.1 ------------------------------------------------------ --------------------------------------------------------------------- The erts-6.3.1 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12445 Application(s): erts Fix getifaddrs realloc pointer error When a buffer was exhausted and subsequently reallocated, we could get an unsafe pointer pointing to faulty memory. For this to occur we would need to have a large number of interfaces and a reallocation of memory to a lower addresses. The symptom would be garbage returned from erlang:port_control(Port, 25, []) (prim_inet:getifaddrs(Port) resulting in a badarg) or a segmentation fault. OTP-12446 Application(s): erts Don't close all file descriptors twice in child_setup The commit c2b4eab25c907f453a394d382c04cd04e6c06b49 introduced an error in which child_setup erroneously tried to close all file descriptors twice. Use closefrom() if available when closing all file descriptors. The function closefrom() was only used in the vfork() case before but is now also used in the fork() case if available. OTP-12447 Application(s): erts During a crashdump all file descriptors are closed to ensure the closing of the epmd port and to reserve a file descriptor for the crashdump file. If a driver (third party library) cannot handle closing of sockets this could result in a segmentation fault in which case a crashdump would not be produced. This is now fixed by only closing inets sockets via an emergency close callback to the driver and thus closing the epmd socket. Full runtime dependencies of erts-6.3.1: kernel-3.0, sasl-2.4, stdlib-2.0 --------------------------------------------------------------------- --- inets-5.10.5 ---------------------------------------------------- --------------------------------------------------------------------- The inets-5.10.5 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12436 Application(s): inets Related Id(s): seq12786 mod_alias now handles https-URIs properly Consistent view of configuration parameter keep_alive_timeout, should be presented in the httpd:info/[1,2] function in the same unit as it is inputted. --- Improvements and New Features --- OTP-12429 Application(s): inets Gracefully handle invalid content-lenght headers instead of crashing in list_to_integer. Full runtime dependencies of inets-5.10.5: erts-6.0, kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-2.0 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------