Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: mac address overflow on windows (#3983)
* Fix: mac address overflow on windows PIP_ADAPTER_ADDRESSES->PhysicalAddressLength will get max up to 8 bytes, but we have only 6 bytes for mac address. In some case, GetAdaptersAddresses() will report address with PhysicalAddressLength=8, e.g. "Microsoft Teredo Tunneling Adapter", which will cause crash at DomainParticipantFactory::create_participant() Signed-off-by: [email protected] <[email protected]> Signed-off-by: Fei Chong <[email protected]> * Fix build error due to windows `min` macro Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: [email protected] <[email protected]> Signed-off-by: Fei Chong <[email protected]> Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Miguel Company <[email protected]> (cherry picked from commit 2601e95)
- Loading branch information