Skip to content

Environment_WIN32U nodeIdImpl access violation in 1.13.0 #4392

@mecsco

Description

@mecsco

Describe the bug
After upgrading from 1.12.4 to 1.13.0, in Environment_WIN32U.cpp the EnvironmentImpl::nodeIdImpl function throws an access violation when making the second call to GetAdaptersInfo if the first call has returned 111 (ERROR_BUFFER_OVERFLOW)

This appears to have been introduced in #4328 (#4336, cfc9ce3).

Expected behavior
Same behaviour as 1.12.4

Please add relevant environment information:

  • Windows 10 64 bit
  • POCO 1.13.0
  • Visual Studio 2022
  • x86 / Win32 project configuration

Metadata

Metadata

Labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions