summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | Prepare releaseErlang/OTP2023-05-047-21/+67
| | | | | | | | |
| | * | | | | | | Update copyright yearErlang/OTP2023-05-045-5/+5
| | | | | | | | |
| | * | | | | | | Merge branch 'sverker/cpu_sup-port-close-error/OTP-18559' into maint-25Erlang/OTP2023-05-042-3/+3
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sverker/cpu_sup-port-close-error/OTP-18559: os_mon: Fix failing port_close
| | * \ \ \ \ \ \ \ Merge branch 'bjorn/compiler/beam_validator/25/GH-7147/OTP-18565' into maint-25Erlang/OTP2023-05-044-9/+110
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bjorn/compiler/beam_validator/25/GH-7147/OTP-18565: Fix two type-related bugs
| | * \ \ \ \ \ \ \ \ Merge branch 'rickard/creation-fix/25.3.1/OTP-18570' into maint-25Erlang/OTP2023-05-044-5/+155
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/creation-fix/25.3.1/OTP-18570: [erts] ensure no mix of external and internal identifiers
* | | \ \ \ \ \ \ \ \ \ Merge pull request #7206 from qzhuyan/doc/william/typo-tls-root-funIngela Andin2023-05-051-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | doc(ssl): fix root_fun typo
| * | | | | | | | | | | doc(ssl): fix root_fun typoWilliam Yang2023-05-041-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #7195 from ↵Björn Gustavsson2023-05-052-86/+130
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bjorng/bjorn/stdlib/erl_lint-type-unions/GH-7116/OTP-18389 Merely warn for unbound variables in union types
| * | | | | | | | | | | | Merely warn for unbound variables in union typesBjörn Gustavsson2023-05-032-86/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In #6864, it became an error to have unbound variables in a union. Before that, unbound variables in unions were silently ignored. For compatibility with code that used to compile before Erlang/OTP 26, change the error to a warning. The warning can be disabled with the `nowarn_singleton_typevar` option. It is expected that unbound variables in unions will again become an error in Erlang/OTP 27. Closes #7116
* | | | | | | | | | | | | Merge branch 'ingela/inets/httpc-put-back-default-ssl-opts'Ingela Anderton Andin2023-05-051-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ingela/inets/httpc-put-back-default-ssl-opts: inets: httpc - add back http client ssl verify options accidently removed
| * | | | | | | | | | | | | inets: httpc - add back http client ssl verify options accidently removedIngela Anderton Andin2023-05-041-1/+3
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge branch 'maint'Sverker Eriksson2023-05-042-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / / / | |/| | | | | | | | | | | |
| * | | | | | | | | | | | | Merge branch 'sverker/cpu_sup-port-close-error/OTP-18559' into maintSverker Eriksson2023-05-042-3/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / / / / / | | |/| | | | | | | | | | / | | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | |
| | * | | | | | | | | | | os_mon: Fix failing port_closeSverker Eriksson2023-04-212-3/+3
| | | |_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use asynchtonous close message to not fail on already closed port.
* | | | | | | | | | | | Merge pull request #7196 from juhlig/sets_v2_filter_mapgenBjörn Gustavsson2023-05-041-14/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Use map generator in sets:filter/2 for version 2 sets
| * | | | | | | | | | | | Use map generator in sets:filter/2 for version 2 setsJan Uhlig2023-05-031-14/+3
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #7176 from robertoaloi/handle-feature-attribute-in-epp-dodgerBjörn Gustavsson2023-05-043-2/+17
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / |/| | | | | | | | | | | | Handle feature attribute in epp_dodger
| * | | | | | | | | | | | Handle feature attribute in epp_dodgerRoberto Aloi2023-04-263-2/+17
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #7200 from bjorng/bjorn/compiler/fix-beam_types-crash/GH-7198Björn Gustavsson2023-05-042-14/+17
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate crash in beam_types
| * | | | | | | | | | | | | Eliminate crash in beam_typesBjörn Gustavsson2023-05-032-14/+17
| | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #7198
* | | | | | | | | | | | | Merge pull request #7201 from bjorng/bjorn/compiler/fix-beam_call_types/GH-7197Björn Gustavsson2023-05-042-15/+34
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | Eliminate crash in beam_ssa_type
| * | | | | | | | | | | | Eliminate crash in beam_ssa_typeBjörn Gustavsson2023-05-032-15/+34
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #7197
* | | | | | | | | | | | Merge pull request #7112 from frej/frej/erl_interface-warning-fixesRickard Green2023-05-033-7/+7
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | erl_interface and escript warning fixes
| * | | | | | | | | | | | erl_interface: Avoid warnings about safe sprintf usageFrej Drejhammar2023-05-022-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In erl_interface there are three uses of `sprintf` to construct host name strings. GCC 12 gives a `‘%s’ directive writing up to 254 bytes into a region of size between 1 and 256` warning at these locations, as it isn't smart enough to see that the manual bounds check is correct and that the write is safe. By switching to `snprintf` and removing the manual size calculation of the resulting string, we can both simplify the relevant code and avoid the warnings.
| * | | | | | | | | | | | escript: Avoid warning about truncated output in strncpyFrej Drejhammar2023-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC warns about how `strncpy` is used in `erts/etc/common/escript.c`: ``` escript.c: In function ‘main’: escript.c:289:17: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 289 | strncpy(dir, beg, sz); | ^ In function ‘find_prog’, inlined from ‘main’ at escript.c:483:25: escript.c:282:26: note: length computed here 282 | sz = strlen(beg); ``` The warning is triggered as GCC understands that, as `sz = strlen(beg)`, `strncpy` will never see and copy a terminating nul character to `dir`. As we manually null-terminate `dir`, by `dir[sz] = '\0';` on the line following `strncpy` we can avoid the warning, and speed up the copy a little (there is no need to look for a nul terminator), by using a plain `memcpy`.
* | | | | | | | | | | | | Merge pull request #7182 from Maria-12648430/patch-9Björn Gustavsson2023-05-033-42/+74
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / |/| | | | | | | | | | | | Remove incorrect compatibility section from `gb_sets` docs
| * | | | | | | | | | | | Move compatibility section to sets documentationMaria Scott2023-05-033-42/+74
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge branch 'dgud/ssl/default-fail-no-peercert/OTP-18567'Dan Gudmundsson2023-05-036-25/+30
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dgud/ssl/default-fail-no-peercert/OTP-18567: ssl: Fix that users can send data during renegotiation ssl: Make fail_if_no_peer_cert default true if verify_peer is set
| * | | | | | | | | | | | ssl: Fix that users can send data during renegotiationDan Gudmundsson2023-04-271-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A timing issue was found during testing of the previous commit. Users should be allowed to send data during the renegotiation.
| * | | | | | | | | | | | ssl: Make fail_if_no_peer_cert default true if verify_peer is setDan Gudmundsson2023-04-275-20/+26
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the client could not send a certificate and the server will accept the connection even if verify_peer is set and the user have forgot to set the fail_if_no_peer_cert. This is changed to make the default options safer.
* | | | | | | | | | | | Merge branch 'maint'Sverker Eriksson2023-05-020-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | Merge branch 'sverker/24.3.4.11/erts/hashmap-collision-nodes/OTP-18569' into ↵Sverker Eriksson2023-05-020-0/+0
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint
| | * \ \ \ \ \ \ \ \ \ \ Merge branch 'sverker/24/erts/hashmap-collision-nodes/OTP-18569' into ↵Sverker Eriksson2023-04-279-365/+693
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sverker/24.3.4.11/erts/hashmap-collision-nodes/OTP-18569
* | | \ \ \ \ \ \ \ \ \ \ \ Merge branch 'maint'Sverker Eriksson2023-05-021-0/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / | | | | | | / / / / / / / / | |_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'sverker/crypto/libre-ssl-fixing/OTP-18571' into maintSverker Eriksson2023-05-021-0/+9
| |\ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | crypto: Fix cmac_update aes_128_cbc for LibreSSLSverker Eriksson2023-04-251-0/+9
| | | |_|_|_|_|/ / / / / / | | |/| | | | | | | | | |
* | | | | | | | | | | | | Merge branch 'raimo/test-cuddle'Raimo Niskanen2023-05-022-14/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * raimo/test-cuddle: CMAC is only possible with CBC mode Test all algorithms documented for CMAC Update Remove unsuported algorithm from cmac_update test
| * | | | | | | | | | | | | CMAC is only possible with CBC modeRaimo Niskanen2023-04-272-9/+7
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Test all algorithms documented for CMAC UpdateRaimo Niskanen2023-04-251-14/+17
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Remove unsuported algorithm from cmac_update testRaimo Niskanen2023-04-251-4/+2
| | |/ / / / / / / / / / / | |/| | | | | | | | | | |
* | | | | | | | | | | | | Merge branch 'maint'Sverker Eriksson2023-05-021-12/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'sverker/25/erts/hashmap-collision-nodes/OTP-18569' into maintSverker Eriksson2023-05-021-12/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AGAIN
| | * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'sverker/24/erts/hashmap-collision-nodes/OTP-18569'Sverker Eriksson2023-04-271-12/+7
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|/ / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | into sverker/25/erts/hashmap-collision-nodes/OTP-18569
| | | * | | | | | | | | | | erts: Remove dead codeSverker Eriksson2023-04-271-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merging of two key-value leafs with equal keys are handled by hashmap_merge() itself, which means merge_colliding_node() will always end up with at least two distinct keys and return a collision node.
* | | | | | | | | | | | | | Merge pull request #7096 from frej/frej/fix-bitwise-on-booleansRickard Green2023-05-023-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | erts: Fix warning about bitwise operations on booleans
| * | | | | | | | | | | | | | erts: Fix warning about bitwise operations on booleansFrej Drejhammar2023-04-053-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang 16 warns when `&` and `|` are used on boolean operands.
* | | | | | | | | | | | | | | Merge branch 'maint'Björn Gustavsson2023-05-020-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint: Fix two type-related bugs
| * | | | | | | | | | | | | | Merge branch 'bjorn/compiler/beam_validator/25/GH-7147/OTP-18565' into maintBjörn Gustavsson2023-05-024-9/+110
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bjorn/compiler/beam_validator/25/GH-7147/OTP-18565: Fix two type-related bugs
| | * | | | | | | | | | | | | Fix two type-related bugsBjörn Gustavsson2023-05-024-9/+110
| | | |_|_|/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #7147 uncovered two bugs in the compiler. The first one is in the swapping of operands for commutative operands, that the compiler does to simplify for the JIT. When the operands were swapped, types for the operands in the annotation were not updated. The second one is in `beam_validator`, which assumed that if the binary construction `<<F/float>>` succeeded, then `F` must be a float. That is not correct, because `F` could also be an integer. Closes #7147
* | | | | | | | | | | | | | Merge pull request #7188 from bjorng/bjorn/compiler/fix-beam_jump/GH-7180Björn Gustavsson2023-05-022-0/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate unsafe sharing optimization in beam_jump