diff options
author | Wayne Zhang <shuowang.zhang@ibm.com> | 2022-05-17 12:18:18 -0400 |
---|---|---|
committer | Jameson Nash <vtjnash@gmail.com> | 2022-06-11 00:26:43 -0400 |
commit | d938c104e1f27deea44a99f2936ad753eab19d7a (patch) | |
tree | f74fc377747301ddd4b1475a0b6fcdf36a402ece /test/test-tcp-bind-error.c | |
parent | 524c5ed87d7cce85df7118eb261c7b47c563c7ad (diff) | |
download | libuv-d938c104e1f27deea44a99f2936ad753eab19d7a.tar.gz libuv-d938c104e1f27deea44a99f2936ad753eab19d7a.zip |
zos: improve memory management of ip addresses (#3640 3/3)
Fixes an issue where under certain conditions, dynamically allocated
ip addresses, strings, and buffers were either leaking memory, being
incorrectly freed, or not performing error checks.
Also fixes an issue where the uv_interface_address_t struct was not
correctly initialized to 0, so use calloc() instead of malloc().
Co-authored-by: Igor Todorovski <itodorov@ca.ibm.com>
Diffstat (limited to 'test/test-tcp-bind-error.c')
0 files changed, 0 insertions, 0 deletions