aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-03-27erts: Remove unsafe bs_get_binary2 optimization from loaderJohn Högberg
A load-time optimization assumed that match contexts had no further uses when a bs_get_binary2 overwrote the match context's register, and figured it would be safe to reuse the match context's memory for the resulting binary. This is no longer safe as of OTP 22, as a match context may be reused after being passed to another function.
2019-03-25erts: Fix incorrect ticket example in commentJohn Högberg
2019-03-25Merge branch 'john/erts/fix-ticket-syntax-error'John Högberg
* john/erts/fix-ticket-syntax-error: erts: Fix version error in erl_nif.h
2019-03-25erts: Fix version error in erl_nif.hJohn Högberg
2019-03-25Merge branch 'siri/cuddle-master'Siri Hansen
* siri/cuddle-master: [logger] Improve logger_disk_log_h_SUITE:restart_after/1
2019-03-25[logger] Improve logger_disk_log_h_SUITE:restart_after/1Siri Hansen
Make this test more reliable on different machines by lowering the kill_qlen and adding one more process to send bursts.
2019-03-25Merge pull request #2192 from IngelaAndin/ingela/ssl/test-enhancementIngela Andin
ssl: Enhance testing
2019-03-24ssl: Enhance testingIngela Anderton Andin
2019-03-22Merge branch 'sverker/enable-big-creation/OTP-15603'Sverker Eriksson
* sverker/enable-big-creation/OTP-15603: epmd: Support 32-bit creation values in local node erts: Robustify epmd reply function erts: Reject decoded local refs with too large first word erts: Fix bug in list_to_ref erl_interface: Remove old encoding of pid,port,refs erts: Remove old encoding of pids, ports and refs erts: Make DFLAG_BIG_CREATION mandatory
2019-03-22epmd: Support 32-bit creation values in local nodeSverker Eriksson
* Increase distribution version from 5 to 6 * Introduce new ALIVE2_X_RESP with 32-bit creation as reply to ALIVE2_REQ when sender dist version >= 6 * Still reply old ALIVE2_RESP with tiny creation 1..3 if sender dist version < 6.
2019-03-22erts: Robustify epmd reply functionSverker Eriksson
2019-03-22erts: Reject decoded local refs with too large first wordSverker Eriksson
2019-03-22erts: Fix bug in list_to_refSverker Eriksson
First word must be less than (1 bsl 18) for local refs.
2019-03-22erl_interface: Remove old encoding of pid,port,refsSverker Eriksson
with tiny creation.
2019-03-22Suppress false positive warning in gcc 4.8.2Kjell Winblad
This commit suppresses the following warning in gcc 4.8.2: In file included from beam/bif.c:33:0: beam/bif.c: In function ‘iolist_size_1’: beam/bif.h:332:14: warning: ‘state_mref’ may be used uninitialized in this function [-Wmaybe-uninitialized] reg[0] = (A0); \ ^ beam/bif.c:2464:11: note: ‘state_mref’ was declared here Eterm state_mref;
2019-03-22beam_emu.c: Avoid triggering an assertion for the wrong reasonBjörn Gustavsson
Before 2d2e78ad6e66 that introduced tail-recursive calls of BIFs, the stack was guaranteed not to be empty when `erlang:raise/3` was called from the `catch` block of a `try` (because the `try` had set up a stack frame that would be deallocated after the `raise` call). Now the stack can be empty, so the ASSERT() call in next_catch() that checks that there is a continuation pointer at the top of the stack may fail. Move the ASSERT() call to after check for empty stack. While at it, also add a comment of the reason for the assertion.
2019-03-22Change "can not" into "cannot"Raimo Niskanen
2019-03-22Merge pull request #2184 from johanclaesson/erldocDan Gudmundsson
Emacs erldoc updates OTP-15699
2019-03-22Merge branch 'hans/crypto/aead_error_handling'Hans Nilsson
* hans/crypto/aead_error_handling: crypto: New error schema in aead.c crypto: Move new error macros to common.h crypto: Use key length in alias/2
2019-03-22crypto: New error schema in aead.cHans Nilsson
2019-03-22crypto: Move new error macros to common.hHans Nilsson
2019-03-22crypto: Use key length in alias/2Hans Nilsson
2019-03-22Merge branch 'siri/logger/cannot/OTP-14282'Siri Hansen
* siri/logger/cannot/OTP-14282: [logger] Replace "can not" with "cannot"
2019-03-22Merge branch 'hans/crypto/cuddle_docs'Hans Nilsson
* hans/crypto/cuddle_docs: crypto: Remove old comment crypto: Restore 'error' as result of failed aead decryption crypto: Update types of hash algorithms crypto: Cuddle error types and documentation of them crypto: Note about key lengths for cipher_info/1 crypto: Update CipherModes for PR/2186 crypto: Declare *_info return map and other review-comments crypto: Declare *_info return map and other review-comments crypto: Document hash_info/1 and cipher_info/1 crypto: Rename block_crypto_with/without to match stream_cipher names crypto: New types (block_cipher)
2019-03-22crypto: Remove old commentHans Nilsson
2019-03-22crypto: Restore 'error' as result of failed aead decryptionHans Nilsson
2019-03-22crypto: Update types of hash algorithmsHans Nilsson
2019-03-22crypto: Cuddle error types and documentation of themHans Nilsson
2019-03-22crypto: Note about key lengths for cipher_info/1Hans Nilsson
2019-03-22crypto: Update CipherModes for PR/2186Hans Nilsson
2019-03-22crypto: Declare *_info return map and other review-commentsHans Nilsson
2019-03-22crypto: Declare *_info return map and other review-commentsHans Nilsson
Conflicts: lib/crypto/doc/src/crypto.xml
2019-03-22crypto: Document hash_info/1 and cipher_info/1Hans Nilsson
2019-03-22crypto: Rename block_crypto_with/without to match stream_cipher namesHans Nilsson
2019-03-22crypto: New types (block_cipher)Hans Nilsson
2019-03-22Merge pull request #2186 from essen/improve-cipher-infoHans Nilsson
Make crypto:cipher_info work for all ciphers and aliases OTP-15655
2019-03-22Merge pull request #2159 from dotsimon/asn1_pedefsIngela Andin
ASN.1: fix various problems with value definitions OTP-15697
2019-03-22Merge branch 'peterdmv/ssl/document-tls13/OTP-13819'Péter Dimitrov
* peterdmv/ssl/document-tls13/OTP-13819: ssl: Update standards compliance Change-Id: Ie743a61fff2416abc741e1508864480a09091add
2019-03-22Merge pull request #2185 from dotsimon/gitignore_asn1_testIngela Andin
Remove asn1/test items from .gitignore
2019-03-22Merge branch 'john/erts/fix-badarg-fixed_apply'John Högberg
* john/erts/fix-badarg-fixed_apply: erts: Include argument list on badarg in fixed_apply
2019-03-22Merge branch 'john/erts/unc-path-size-fix/OTP-15693'John Högberg
* john/erts/unc-path-size-fix/OTP-15693: erts: Fix incorrect UNC path length calculation
2019-03-22erts: Fix incorrect UNC path length calculationJohn Högberg
This didn't cause any issues for the most part since the path was still properly formed, but it broke down when appending the wildcards in file:list_dir/1. The ASSERT_PATH_FORMAT macro would have caught this in no time, but it went unnoticed because we don't run debug builds on Windows.
2019-03-22Merge branch 'ingela/ssl/default-supported-versions/OTP-14865'Ingela Anderton Andin
* ingela/ssl/default-supported-versions/OTP-14865: ssl: Remove default support for legacy versions
2019-03-22Merge branch 'hasse/stdlib/restore_string_SUITE_timeout'Hans Bolinder
* hasse/stdlib/restore_string_SUITE_timeout: stdlib: Restore timeout in string_SUITE:meas()
2019-03-22Merge branch 'maint'Rickard Green
* maint: # Conflicts: # make/otp_version_tickets_in_merge
2019-03-22Merge branch 'maint-21' into maintRickard Green
* maint-21: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-03-22Merge branch 'maint'Rickard Green
* maint:
2019-03-22Merge branch ↵Rickard Green
'lars/xmerl-scan-attribute-fixes/OTP-15684/OTP-15685/ERL-837/ERL-475' into maint * lars/xmerl-scan-attribute-fixes/OTP-15684/OTP-15685/ERL-837/ERL-475: [xmerl] Normalize attribute correctly when references are used [xmerl] Replace character refs correctly in attributes
2019-03-21Merge 'sverker/master/enif_whereis_pid-dirty-dtor/OTP-15694'Sverker Eriksson
* sverker/master/enif_whereis_pid-dirty-dtor: erts: Add test of enif_whereis* from resource destructor erts: Simplify nif_SUITE:nif_whereis* tests erts: Schedule resource destructors always
2019-03-21Merge branch 'maint'Rickard Green