Age | Commit message (Collapse) | Author |
|
Sending a large term to the error logger has two problems related
to the size and sign of the variables used to represent lengths:
- the API functions (erts_send_error_term_to_logger() et al) perform
an unchecked narrowing conversion from size_t to int when passing
dsbufp->str_len to the internal functions; this may both truncate
the length and make it negative
- do_send_term_to_logger() and do_send_to_logger() multiply the
int-typed length by 2 before widening it to Uint and adding a few
more values; the intermediate product may overflow causing loss
of high bits and a change of sign; if the intermediate product is
negative the final size will be an extremely large positive value
The end result is that the computed buffer size can be arbitrarily
wrong, either too small or too large.
While reviewing this code I also found and fixed a potential narrowing
bug in erts_set_hole_marker().
|
|
* maint-20:
Updated OTP version
Prepare release
erl_interface: Optimize latin1_to_utf8 and friend
inets: Fix broken httpc options handling
erl_interface: Fix ei_connect
ssh: Fix server crashes for exit-normal signals
ssh: Fix ssh_sftpd:handle_op not returning State
ic: Optimize oe_ei_encode_atom
|
|
|
|
|
|
* sverker/optimize-atom-enc-dec/ERIERL-150/OTP-15023:
erl_interface: Optimize latin1_to_utf8 and friend
ic: Optimize oe_ei_encode_atom
|
|
maint-20
* sverker/erl_interface/ei_connect-erange-fix/OTP-15022:
erl_interface: Fix ei_connect
|
|
* peterdmv/httpc_options_handling/ERL-441/OTP-15007:
inets: Fix broken httpc options handling
|
|
* hans/ssh/server_exit_normal_exit_20/OTP-15018:
ssh: Fix server crashes for exit-normal signals
|
|
* hans/ssh/sftpd_rm_dir_err_20/OTP-15004:
ssh: Fix ssh_sftpd:handle_op not returning State
|
|
to do word wise check/copy for pure ASCII
if ARCH allows it (x86 and amd64).
|
|
- Add support for setting socket options per request.
- Add http_ipv6 test group.
Change-Id: Ia2aca37c0b5fe64a41995c79ae3399434b17ab8a
|
|
* maint-20:
Updated OTP version
Prepare release
Update appup file for sasl
Fix bug in hybrid boot file used for restart_new_emulator
|
|
|
|
|
|
* siri/systools/make_hybrid_boot/OTP-15017:
Update appup file for sasl
Fix bug in hybrid boot file used for restart_new_emulator
|
|
when ei_gethostbyname_r returns ERANGE.
|
|
|
|
* peterdmv/httpc_options_handling/ERL-441/OTP-15007:
inets: Fix broken httpc options handling
Change-Id: Ib05f5718c46128bb2aca7c3962bd94e9fa244da0
|
|
|
|
The old hybrid did not update preloaded and mandatory module lists and
kernel processes.
|
|
- Add support for setting socket options per request.
- Add http_ipv6 test group.
Change-Id: Ia2aca37c0b5fe64a41995c79ae3399434b17ab8a
|
|
* maint-19:
Updated OTP version
Prepare release
ssh: Fix ssh_sftpd:handle_op not returning State
Conflicts:
OTP_VERSION
lib/ssh/doc/src/notes.xml
lib/ssh/vsn.mk
otp_versions.table
|
|
|
|
|
|
* hans/ssh/sftpd_rm_dir_err_19/OTP-15004:
ssh: Fix ssh_sftpd:handle_op not returning State
|
|
|
|
|
|
Dummy merge (almost). os:cmd/2 already in OTP-20.
|
|
|
|
|
|
|
|
* hans/ssh/spec_double_algs/OTP-14990:
ssh: Fix bad spec for double_algs() in ssh.hrl
|
|
maint-20
* raimo/stdlib/fix-gen_statem-init-actions-check/OTP-13995:
Test event insert from init
Fix init to allow all actions
|
|
|
|
|
|
* sverker/maint-19/os-cmd-2/OTP-14823:
kernel: Fix os_SUITE:max_size_command for OTP-19
kernel: Fix handling of os:cmd option max_size in win
kernel: Add os:cmd/2 with max_size option
|
|
where string:trim does not exist.
|
|
git cherry-pick 75b0f73f72e1783d4ace976cdd2b5f23bdc3ebae
|
|
git cherry-pick 55e929c4ed5cd854038c18697123ea94948ebf35
|
|
|
|
1. Use ei_encode_atom_len to not repeat strlen(p) twice.
2. Do a dirty over estimation of atom encoding space needed
to avoid calling ei_encode_atom_len twice.
|
|
|
|
|
|
|
|
|
|
* ingela/ssl/filter-bug/OTP-14981:
ssl: Prepare for release
ssl: Remove duplicate release note
ssl: Fix filter function to not discard AEAD cipher suites
|
|
|
|
|
|
|
|
|