From 62870c998955e1498e71bfc90607885e96ecaa27 Mon Sep 17 00:00:00 2001
From: Erlang/OTP This document describes the changes made to the ERTS application.
+ Fix missing quotation in the
+ Own Id: OTP-12388
+ Fix erroneous printout of monitors in crashdump file.
+ Own Id: OTP-12537
+ The runtime system without SMP support could crash in the
+ BIF
+ Own Id: OTP-12544 Aux Id: Seq12777
+ Avoid corrupt oversized integer to be created from binary
+ matching. Instead throw system_limit exception which is
+ the correct behavior. A peculiar symptom of this bug was
+ that bitwise operations (band, bor, bxor) on such
+ oversized integers could return the empty list [].
+ Credit: Mikael Pettersson, Nico Kruber
+ Own Id: OTP-12556
+ A race condition when calling
+ Own Id: OTP-12587
+ Fix comparison of exact terms. An overflow that could
+ cause faulty comparisons has been fixed. Comparison of
+ exact terms is exclusively used within Maps.
+ Own Id: OTP-12623
+ Fix bug in
+ Own Id: OTP-12624
+ Introduced a runtime system internal 64-bit API for
+ atomic memory operations.
+ Own Id: OTP-12351
+ Add command line argument option for the initial size of
+ process dictionaries.
+ Use '+hpds <size>' to set initial process
+ dictionary size for spawned processes.
+ Own Id: OTP-12535 Aux Id: seq12809
+ Fix documentation on $char for Unicode
+ Own Id: OTP-12545 This document describes the changes made to the asn1 application. The ASN.1 compiler would crash if a SEQUENCE ended
+ with a double set of ellipses (
+ Own Id: OTP-12546 Aux Id: seq12815
+ The tests overview file, index.html, did not always get
+ updated correctly after a new test run. This was because
+ of a bug in the Common Test log cache mechanism which has
+ now been corrected.
+ Own Id: OTP-11400
+ When a successful test case returns, Common Test should,
+ according to the documentation, send a tc_done event to
+ the event handlers with Result = ok in the data field.
+ However, Common Test sets Result to the return value of
+ the test case instead. Common Test has been modified now
+ to comply with the documentation.
+ *** POTENTIAL INCOMPATIBILITY ***
+ Own Id: OTP-12279 Aux Id: seq12737, OTP-12531
+ A ct_telnet:expect/3 call could never be aborted before
+ an idle_timeout, even if total_timeout had been set to a
+ lower value (i.e. a shorter time). This problem has been
+ fixed.
+ Own Id: OTP-12335
+ The undocumented return value {skipped,Reason} from
+ config functions and test cases was handled
+ inconsistently. Test cases were e.g. reported as
+ "skipped" to CT Hook functions, but "successful" to event
+ handlers. Now, the above return value is consistently
+ handled the same way as {skip,Reason} and this has also
+ been documented.
+ *** POTENTIAL INCOMPATIBILITY ***
+ Own Id: OTP-12359 Aux Id: seq12760
+ The Erlang source code to HTML generator would sometimes
+ fail because epp:parse_erl_form/1 could not find and
+ expand required macros in included header files. The
+ problem has been solved by making sure common_test always
+ passes the full include path to epp. Also, a bug that
+ could cause erl_syntax:revert/1 to fail because of a
+ badly formed syntax tree has been corrected.
+ Own Id: OTP-12419
+ A missing group option in the ct_run help text has been
+ added.
+ Own Id: OTP-12433 Aux Id: seq12788
+ Printouts by means of ct:log/2/3 or ct:pal/2/3 from the
+ hook functions on_tc_fail/2 and on_tc_skip/2 would (quite
+ unexpectedly) end up in the "unexpected i/o" log file
+ instead of in the test case log file. This behaviour has
+ been changed so that now, all printouts (including stdio
+ printouts) from these hook functions will be routed to
+ the test case log file.
+ Own Id: OTP-12468
+ ct_netconfc:action/3 will now - if the return type is
+ void - accept an RPC reply on the form
+ {ok,[simple_xml()]}, and in this event return only the
+ atom ok.
+ Own Id: OTP-12491 Aux Id: seq12797
+ OTP-11971 erroneously changed the handling of relative
+ paths for incl_dirs specified in the cover spec file.
+ This is now corrected so these are expected to be
+ relative to the directory where the cover spec file
+ itself is stored
+ Own Id: OTP-12498 Aux Id: OTP-11971
+ Some test cases have been updated to use ct:sleep/1
+ instead of timer:sleep/1. The reason being that the sleep
+ times need to be scaled to compensate for slow execution
+ (e.g. when cover is running).
+ Own Id: OTP-12574
+ Common Test now exports a function,
+ ct:get_event_mgr_ref/0, that returns the name of the
+ Common Test event manager. This makes it possible to plug
+ in event handlers to the event manager while tests are
+ running (using the gen_event API).
+ Own Id: OTP-12506 Aux Id: seq12802
+ When a test case (or configuration function) fails
+ because of an exit signal from a linked process, Common
+ Test previously passed only the reason for process
+ termination to the CT post hook functions and the event
+ handlers (in the tc_done event). This has been changed so
+ that now the tuple {'EXIT',ReasonForProcessTermination}
+ is passed instead. This makes it much easier in the CT
+ post hook functions to distinguish a failure of this sort
+ from other types of errors and from the return value of a
+ successful test case.
+ *** POTENTIAL INCOMPATIBILITY ***
+ Own Id: OTP-12531 Aux Id: OTP-12279
+ A new feature has been introduced in ct_telnet:get_data/1
+ that makes it possible to automatically poll the telnet
+ connection in case an incomplete string (one that has not
+ yet been terminated by a newline) remains in the receive
+ buffer. The polling is controlled by two new telnet
+ config values, which are documented in the ct_telnet
+ reference manual. The polling mechanism is disabled by
+ default (making the get_data/1 function backwards
+ compatible).
+ Own Id: OTP-12627 This document describes the changes made to the Compiler
application.
+ Matching out a map from a record and then updating the
+ record could cause a 'badarg' exception at run-time.
+ (Thanks to Dmitry Aleksandrov for reporting this bug.)
+ Own Id: OTP-12402 The compiler would crash when compiling some complex,
+ nonsensical guards such as: ...
+ Own Id: OTP-12410
+ In rare circumstances, using binary pattern in the value
+ part of a map pattern would cause the compiler to crash.
+ Own Id: OTP-12414 Case expressions where a map was wrapped in a tuple or
+ list such as: would be unsafely "optimized" to either cause an
+ exception at run-time or would return an empty map.
+ Own Id: OTP-12451 When a variable was compared to a literal map using
+ the '
+ Own Id: OTP-12456 This document describes the changes made to the Crypto application.
+ Extend block_encrypt/decrypt for aes_cfb8 and aes_cfb128
+ to accept keys of length 128, 192 and 256 bits. Before
+ only 128 bit keys were accepted.
+ Own Id: OTP-12467 This document describes the changes made to the Debugger
application.
+ Fix save state which did not work on Mac.
+ Own Id: OTP-12378 This document describes the changes made to the Dialyzer
application. A bug concerning
+ Own Id: OTP-12472
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Don't discard outgoing answers unnecessarily.
++ Answers missing a Result-Code AVP or setting an E-bit + inappropriately were discarded even if encode was + successful.
++ Own Id: OTP-11492
++ Increase supervision timeouts.
++ At diameter application shutdown, DPR could be omitted on + open peer connections because of short supervision + timeouts.
++ Own Id: OTP-12412
++ Fix retransmission of messages sent as header/avps list.
++ Extracting End-to-End and Hop-by-Hop Identifiers resulted + in a function clause error, resulting in a handle_error + callback.
++ Own Id: OTP-12415
++ Fix diameter_avp decode of Grouped AVPs having decode + errors.
++ Components of such an AVP were not extracted, causing it + to be represented by a single diameter_avp record instead + of the intended list.
++ Dictionary files must be recompiled for the fix to have + effect.
++ Own Id: OTP-12475
++ Fix ordering of AVPs in relayed messages.
++ The order was reversed relative to the received order, + with a Route-Record AVP prepended.
++ Thanks to Andrzej Trawiński.
++ Own Id: OTP-12551
++ Fix issues with DiameterURI encode/decode.
++ RFC 6773 changed the default port and transport, but the + RFC 3588 defaults were used even if the RFC 6733 common + dictionary was in use. The RFC 3588 defaults are now only + used when the common dictionary is + diameter_gen_base_rfc3588.
++ Both RFC 3588 and 6733 disallow + transport=udp;protocol=diameter. Encode of the + combination now fails.
++ Decode of ports numbers outside the range 0-65535 and + fully qualified domain names longer than 255 octets now + fails.
++ Note that RFC 3588 is obsolete, and that there is a + diameter_gen_base_rfc6733. The change in defaults is a + potential interoperability problem when moving to RFC + 6733 with peers that do not send all URI components. The + fact that 6733 allows 5xxx result codes in answer + messages setting the E-bit, which RFC 3588 doesn't, is + another.
++ Own Id: OTP-12589
++ Add service_opt() string_decode.
++ To disable the decode of potentially large binaries to + string. This prevents large strings from being copied + when incoming Diameter messages are passed between + processes, a vulnerability that can lead to memory being + exhausted given sufficiently malicious peers.
++ The value is a boolean(), true being the default for + backwards compatibility. Setting false causes both + diameter_caps records and decoded messages to contain + binary() in relevant places that previously had string(): + diameter_app(3) callbacks need to be prepared for the + change.
++ The Diameter types affected are OctetString and the + derived types UTF8String, DiameterIdentity, DiameterURI, + IPFilterRule, and QoSFilterRule. Time and Address are + unaffected.
++ Own Id: OTP-11952
++ Add transport_opt() pool_size.
++ To allow for pools of accepting transport processes, + which can better service multiple simultaneous peer + connections. The option can also be used with connecting + transports, to establish multiple connections to the same + peer without having to configure multiple transports.
++ Own Id: OTP-12428
++ Allow DPR to be sent with diameter:call/4.
++ It has been possible to send, but the answer was regarded + as unsolicited and discarded. DPA now causes the + transport process in question to be terminated, as for + DPR that diameter itself sends.
++ Own Id: OTP-12542
++ Discard requests after DPR.
++ RFC 6733 is imprecise, but the tone is that messages + received after DPR are an exception to be dealt with only + because of the possibility of unordered delivery over + SCTP. As a consequence, and because a request following + DPR is unlikely to be answered due to the impending loss + of the peer connection, discard outgoing requests + following an outgoing or incoming DPR. Incoming requests + are also discarded, with the exception of DPR itself. + Answers are sent and received as usual.
++ Own Id: OTP-12543
++ Add transport_opt() dpr_timeout.
++ To cause a peer connection to be closed following an + outgoing DPA when the peer fails to do so. It is the + recipient of DPA that should close the connection + according to RFC 6733.
++ Own Id: OTP-12609
++ Add service_opt() incoming_maxlen.
++ To bound the expected size of incoming Diameter messages. + Messages larger than the specified number of bytes are + discarded, to prevent a malicious peer from generating + excessive load.
++ Own Id: OTP-12628
+This document describes the changes made to the Eldap application.
+
+ Corrects that
+ Own Id: OTP-12349
+
+ Clarification in the reference manual for
+
+ Own Id: OTP-12354
++ The eldap test suites are extended and re-organized.
++ Own Id: OTP-12355
+This document describes the changes made to HiPE.
++ Fix HiPE for ARM when Erlang VM is compiled for Thumb + execution mode. This was a problem on e.g. Ubuntu which + configures its system GCC to generate Thumb by default.
++ Own Id: OTP-12405
++ Reduced lock contention of dynamic function lookups (like + apply) from hipe compiled code.
++ Own Id: OTP-12557
++ Fix two bugs in HiPE compiler regarding floating-points, + both leading to crash during compilation. The + target-specific code generators failed to handle integer + to floating-point conversion instructions with constant + operands. The middle-end could use an incorrect + representation for copies between floating-point + registers.
++ Own Id: OTP-12413
++ Improved error handling when memory allocation for HiPE + code fails.
++ Own Id: OTP-12448
++ inets: parse correctly 'Set-Cookie' header with empty + value
++ httpc_cookie should parse cookies with empty values and + no attributes set in the 'Set-Cookie' headers.
++ Own Id: OTP-12455
++ Add parsing of URI fragments to http_uri:parse
++ This fixes a bug in httpc where redirection URIs could + lead to bad requests if they contained fragments.
++ Own Id: OTP-12398
++ httpc: http client now ignores invalid set-cookie headers
++ Own Id: OTP-12430
+This document describes the changes made to the Kernel application.
++ A bug causing an infinite loop in hostname resolving has + been corrected. To trigger this bug you would have to + enter an bogus search method from a configuration file + e.g .inetrc.
++ Bug pinpointed by Emil Holmström
++ Own Id: OTP-12133
++ The standard_error process now handles the getopts I/O + protocol request correctly and stores its encoding in the + same way as standard_io.
++ Also, io:put_chars(standard_error, [oops]) could + previously crash the standard_error process. This is now + corrected.
++ Own Id: OTP-12424
++ Configuration parameters for the Kernel application that + allows setting socket options for the distribution + sockets have been added. See the application Kernel + documentation; parameters 'inet_dist_listen_options' and + 'inet_dist_connect_options'.
++ Own Id: OTP-12476 Aux Id: OTP-12476
++ Fixed race condition in protocol negotiation.
++ Own Id: OTP-12473
++ Grammar corrections. (Thanks to Derek Brown)
++ Own Id: OTP-12400
+This document describes the changes made to the Observer application.
++ Fix crash when opening a process information window.
++ Own Id: OTP-12634
+This document describes the changes made to the OS_Mon application.
++ Do not crash with badmatch when integer part of loadavg + has more than 2 digits.
++ Own Id: OTP-12581
++ Fix compilation of memsup on OpenBSD.
++ Own Id: OTP-12404
++ Improve/extend support for CRL handling.
++ Own Id: OTP-12547 Aux Id: OTP-10362
+This document describes the changes made to the Runtime_Tools application.
+
+ The trace process started by
+ Own Id: OTP-12517
++ If a channel is closed by the peer while using a function + with call semantics in ssh_connection.erl return {error, + closed}. Document that the functions can return {error, + timeout | closed} and not only ssh_request_status()
++ Own Id: OTP-12004
+
+ Bug that causes ssh:connect to return
+
+ Own Id: OTP-12369
++ Documentation corrections. (Thanks to Rabbe Fogelholm)
++ Own Id: OTP-12399
++ Example of ssh_connection:exec added.
++ Own Id: OTP-12558
+This document describes the changes made to the SSL application.
-+ Exclude self-signed trusted anchor certificates from + certificate prospective certification path according to + RFC 3280.
++ This will avoid some unnecessary certificate processing.
++ Own Id: OTP-12449
++ Separate client and server session cache internally.
++ Avoid session table growth when client starts many + connections in such a manner that many connections are + started before session reuse is possible. Only save a new + session in client if there is no equivalent session + already stored.
++ Own Id: OTP-11365
++ The PEM cache is now validated by a background process, + instead of always keeping it if it is small enough and + clearing it otherwise. That strategy required that small + caches where cleared by API function if a file changes on + disk.
++ However export the API function to clear the cache as it + may still be useful.
++ Own Id: OTP-12391
++ Add padding check for TLS-1.0 to remove Poodle + vulnerability from TLS 1.0, also add the option + padding_check. This option only affects TLS-1.0 + connections and if set to false it disables the block + cipher padding check to be able to interoperate with + legacy software.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-12420
++ Add support for TLS_FALLBACK_SCSV used to prevent + undesired TLS version downgrades. If used by a client + that is vulnerable to the POODLE attack, and the server + also supports TLS_FALLBACK_SCSV, the attack can be + prevented.
++ Own Id: OTP-12458
+This document describes the changes made to the STDLIB application.
++ Behaviour of character types \d, \w and \s has always + been to not match characters with value above 255, not + 128, i.e. they are limited to ISO-Latin-1 and not ASCII
++ Own Id: OTP-12521
++ c:m/1 now displays the module's MD5 sum.
++ Own Id: OTP-12500
++ Make ets:i/1 handle binary input from IO server.
++ Own Id: OTP-12550
+This document describes the changes made to the Syntax_Tools application.
++ Fix bad format of error in epp_dodger:parse_file/3
++ Own Id: OTP-12406
++ When installing test suites in a cross compilation + environment, ts_install was not able to read the values + of the environment variables specified in the + configuration file. This has been fixed.
++ Own Id: OTP-11441
++ Printouts by means of ct:log/2/3 or ct:pal/2/3 from the + hook functions on_tc_fail/2 and on_tc_skip/2 would (quite + unexpectedly) end up in the "unexpected i/o" log file + instead of in the test case log file. This behaviour has + been changed so that now, all printouts (including stdio + printouts) from these hook functions will be routed to + the test case log file.
++ Own Id: OTP-12468
++ The format of the information printed on top of the test + case (and configuration function) log file has been + slightly modified, mainly in order to make the start + configuration data easier to read and interpret.
++ Own Id: OTP-12518 Aux Id: seq12808
+This document describes the changes made to the Tools application.
++ Fix lcnt sorting and printout of histograms.
++ Own Id: OTP-12364
+ Fix a Unicode bug in the
+ Own Id: OTP-12567
++ Fix tags completion in erlang.el for GNU Emacs 23+
++ Own Id: OTP-12583
+This document describes the changes made to the wxErlang application.
++ Fix timing related crash during wx application stop.
++ Own Id: OTP-12374
+