diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-11-18 18:18:44 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-11-19 00:37:20 +0100 |
commit | f11a92993c45a91c3237733486ce2b8735af2ba0 (patch) | |
tree | ebeaeff7601691daa712d7779c96c7c46da2cf0d /elf/tst-tls21.c | |
parent | dae3cf4134d476a4b4ef86fd7012231d6436c15e (diff) | |
download | glibc-f11a92993c45a91c3237733486ce2b8735af2ba0.tar glibc-f11a92993c45a91c3237733486ce2b8735af2ba0.tar.gz glibc-f11a92993c45a91c3237733486ce2b8735af2ba0.tar.bz2 glibc-f11a92993c45a91c3237733486ce2b8735af2ba0.zip |
_hurd_intr_rpc_mach_msg: handle message iteration correctly.
The `ty` pointer is only set at the end of the loop so that
`msgtl_header.msgt_inline` and `msgtl_header.msgt_deallocate` remain
valid. Also, when deallocating memory, we use the length from the
message directly rather than hard coding mach_port_t since we want to
deallocate any kind of OOL data.
Message-ID: <ZVlGVD6eEN-dXsOr@jupiter.tail36e24.ts.net>
Diffstat (limited to 'elf/tst-tls21.c')
0 files changed, 0 insertions, 0 deletions