mirror of
https://github.com/espressif/openthread.git
synced 2026-07-30 07:37:46 +00:00
[posix] fix uninitialized pointer read (#9562)
This commit is contained in:
@@ -671,9 +671,9 @@ exit:
|
||||
|
||||
otError InfraNetif::DiscoverNat64Prefix(uint32_t aInfraIfIndex)
|
||||
{
|
||||
otError error = OT_ERROR_NONE;
|
||||
struct addrinfo *hints = nullptr;
|
||||
struct gaicb *reqs[1];
|
||||
otError error = OT_ERROR_NONE;
|
||||
struct addrinfo *hints = nullptr;
|
||||
struct gaicb *reqs[1] = {nullptr};
|
||||
struct sigevent sig;
|
||||
int status;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user