diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-07-14 18:14:35 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-07-14 18:14:35 +0200 |
commit | 98e07c497c9d866c0342696918a020b3f0303405 (patch) | |
tree | 7ed2f4972848a6b973e01e9566a518bd0e298069 /string.c | |
parent | cf4a7d9f3882c28292b5e00a314d4cbd36a90002 (diff) | |
download | mig-98e07c497c9d866c0342696918a020b3f0303405.tar.gz mig-98e07c497c9d866c0342696918a020b3f0303405.tar.bz2 mig-98e07c497c9d866c0342696918a020b3f0303405.zip |
server: Fix bogus port deallocation on server error
For inlined port arrays, WriteExtractArg compacts them from a
mach_port_name_inlined_t array to a mach_port_t array, reusing the
memory area. But when the server returns an error, the caller will
destroy the message, and thus expects the original inlined port arrays
available.
Diffstat (limited to 'string.c')
0 files changed, 0 insertions, 0 deletions