mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 22:00:55 +00:00
42515190c5
Prevent nslookup.exe from crashing when executed in a ROS VM with no network interfaces. This is due to a NULL pointer dereference occurring if `GetNetworkParams` in `main` fails with an error other than `ERROR_BUFFER_OVERFLOW`. In this case, `pNetInfo` remains initialized to NULL, causing `strncpy` to crash. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
nslookup.c | ||
nslookup.h | ||
nslookup.rc | ||
utility.c |