about summary refs log tree commit diff
path: root/mach
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-11-18 18:18:44 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-11-19 00:37:20 +0100
commitf11a92993c45a91c3237733486ce2b8735af2ba0 (patch)
treeebeaeff7601691daa712d7779c96c7c46da2cf0d /mach
parentdae3cf4134d476a4b4ef86fd7012231d6436c15e (diff)
downloadglibc-f11a92993c45a91c3237733486ce2b8735af2ba0.tar.gz
glibc-f11a92993c45a91c3237733486ce2b8735af2ba0.tar.xz
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 'mach')
0 files changed, 0 insertions, 0 deletions