]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: resolver: A few fixes for cygwin_query()
authorAnton Lavrentiev via Cygwin-patches <cygwin-patches@cygwin.com>
Tue, 18 Jan 2022 21:34:34 +0000 (16:34 -0500)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 19 Jan 2022 07:05:18 +0000 (08:05 +0100)
commit12bf36f72b7e6019a3adb60d86e65262f43a9311
tree04546106cbd64c6043a04473b7dc42313cf0d524
parentfa279a583dd961497a378758ebbe4ca78f085282
Cygwin: resolver: A few fixes for cygwin_query()

- Make sure the answer buffer is properly cleared so there is no trailing
garbage when the response does not fit entirely in;
- Make sure an internal decomp failure gets reported correctly (w/return code -1);
- Make sure that the buffer is not overrun when filling out the header.
winsup/cygwin/libc/minires-os-if.c
This page took 0.031475 seconds and 5 git commands to generate.