diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-06-26 02:17:49 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-07-03 01:38:12 +0200 |
commit | f84c3ceb0447477eb022cd5da6c8f27a705deae6 (patch) | |
tree | 1bf12f75f7ff37e7b7056672c4a2dc115a6bcaed /support/resolv_test.h | |
parent | 4b5e576fc21931969c0a1b53fdaf7ce3bfcebb86 (diff) | |
download | glibc-f84c3ceb0447477eb022cd5da6c8f27a705deae6.zip glibc-f84c3ceb0447477eb022cd5da6c8f27a705deae6.tar.gz glibc-f84c3ceb0447477eb022cd5da6c8f27a705deae6.tar.bz2 |
hurd: Fix calling vm_deallocate (NULL)
Only call vm_deallocate when we do have the old buffer, and check for
unexpected errors.
Spotted while debugging a msgids/readdir issue on x86_64-gnu.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230625231751.404120-3-bugaevc@gmail.com>
Diffstat (limited to 'support/resolv_test.h')
0 files changed, 0 insertions, 0 deletions