From 37e14c395a0d3621d65552b3954856d1cbeaed9a Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 20 Sep 2016 09:36:54 +0200 Subject: Prepare release --- lib/stdlib/doc/src/notes.xml | 60 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) (limited to 'lib/stdlib/doc/src') diff --git a/lib/stdlib/doc/src/notes.xml b/lib/stdlib/doc/src/notes.xml index f0347703e7..554150380f 100644 --- a/lib/stdlib/doc/src/notes.xml +++ b/lib/stdlib/doc/src/notes.xml @@ -31,6 +31,66 @@

This document describes the changes made to the STDLIB application.

+
STDLIB 3.1 + +
Fixed Bugs and Malfunctions + + +

+ The zip:unzip/1,2 and zip:extract/1,2 + functions have been updated to handle directory traversal + exploits. Any element in the zip file that contains a + path that points to a directory above the top level + working directory, cwd, will instead be extracted + in cwd. An error message is printed for any such + element in the zip file during the unzip operation. The + keep_old_files option determines if a file will + overwrite a previous file with the same name within the + zip file.

+

+ Own Id: OTP-13633

+
+ +

Correct the contracts for + ets:match_object/1,3.

+

+ Own Id: OTP-13721 Aux Id: PR-1113

+
+ +

+ Errors in type specification and Emacs template + generation for gen_statem:code_change/4 has been + fixed from bugs.erlang.org's Jira cases ERL-172 and + ERL-187.

+

+ Own Id: OTP-13746 Aux Id: ERL-172, ERL-187

+
+
+
+ + +
Improvements and New Features + + +

+ gen_statem has been changed to set the callback mode for + a server to what Module:callback_mode/0 returns. This + facilitates e.g code downgrade since the callback mode + now becomes a property of the currently active code, not + of the server process.

+

+ Exception handling from Module:init/1 has also been + improved.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13752

+
+
+
+ +
+
STDLIB 3.0.1
Fixed Bugs and Malfunctions -- cgit v1.2.3